Koha/koha-tmpl/intranet-tmpl/prog/en/modules/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
..
access_files.tt
additional-contents.tt
automatic_item_modification_by_age.tt
batch_delete_records.tt
batch_extend_due_dates.tt
batch_record_modification.tt
batchMod-del.tt
batchMod-edit.tt
batchMod.tt
cleanborrowers.tt
csv-profiles.tt
export.tt
holidays.tt
import_borrowers.tt
inventory.tt
letter.tt
manage-marc-import.tt
marc_modification_templates.tt
modborrowers.tt
overduerules.tt
page.tt
picture-upload.tt
preview_letter.tt
problem-reports.tt
quotes-upload.tt
quotes.tt
scheduler.tt
showdiffmarc.tt
stage-marc-import.tt
stockrotation.tt
tools-home.tt
upload-images.tt
upload.tt
viewlog.tt