Koha/tools
Nick Clemens 03c8725b4e
Bug 32037: Check for existence of object before building link
This patch adds a check on the existence of the object and passes this to the template

I also drop a level of IF by moving to ELSIF

To test:
 1 - Enable ReturnLog amd IssueLog
 2 - Checkout an item to a patron
 3 - Return it
 4 - View 'Modification log' tab of the borrwer
 5 - Note item links, test them, they work
 6 - Delete the item
 7 - Reload and try links again, they do not work
 8 - Apply patch
 9 - Reload, no more links
10 - Checkout and return another item
11 - This one has links, and they work as before

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-11-04 19:18:54 -03:00
..
csv-profiles
access_files.pl
additional-contents.pl Bug 30718: Use flatpickr's altInput 2022-08-19 08:26:31 -03:00
ajax-inventory.pl
automatic_item_modification_by_age.pl
background-job-progress.pl
batch_delete_records.pl
batch_extend_due_dates.pl Bug 30718: Use flatpickr's altInput 2022-08-19 08:26:31 -03:00
batch_record_modification.pl
batch_records_ajax.pl
batchMod.pl Bug 31154: (QA follow-up) Fix UI form builder 2022-09-16 10:26:26 -03:00
cleanborrowers.pl Bug 30718: Use flatpickr's altInput 2022-08-19 08:26:31 -03:00
copy-holidays.pl
csv-profiles.pl
exceptionHolidays.pl
export.pl Bug 6936: Allow multiple itemtypes for bib record export 2022-08-22 13:34:38 -03:00
holidays.pl Bug 30718: Use flatpickr's altInput 2022-08-19 08:26:31 -03:00
import_borrowers.pl Bug 31590: Remove Text::CSV::Unicode 2022-09-21 16:07:21 -03:00
inventory.pl Bug 30718: Use flatpickr's altInput 2022-08-19 08:26:31 -03:00
letter.pl Bug 31373: DRY - Use try/catch around _process_tt 2022-09-16 11:03:04 -03:00
manage-marc-import.pl Bug 27421: Commit and revert 2022-09-19 15:14:56 -03:00
marc_modification_templates.pl
modborrowers.pl
newHolidays.pl
overduerules.pl
page.pl Bug 31385: (follow-up) Same change at intranet side 2022-08-19 11:43:56 -03:00
picture-upload.pl
problem-reports.pl
quotes-upload.pl
quotes.pl
scheduler.pl Bug 30718: Fix scheduler 2022-08-19 08:26:38 -03:00
showdiffmarc.pl Bug 31526: Follow-up for bug 29697 2022-09-16 10:25:48 -03:00
stage-marc-import.pl Bug 27421: Use Background job for staging MARC records for import 2022-09-19 15:14:55 -03:00
stockrotation.pl
tools-home.pl
upload-cover-image.pl
upload-file.pl
upload.pl
viewlog.pl Bug 32037: Check for existence of object before building link 2022-11-04 19:18:54 -03:00