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 Bug 31609: JavaScript error on Additional contents main page 2022-10-25 09:42:22 -03:00
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 Bug 32050: Add 'page-section' to calendar page 2022-11-02 19:22:36 -03:00
import_borrowers.tt
inventory.tt
letter.tt
manage-marc-import.tt Bug 31834: Replace incorrect "table" class from MARC imports table 2022-10-24 17:10:57 -03:00
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 Bug 31812: Update 'Stage for import' button to be primary 2022-10-24 15:42:43 -03:00
stockrotation.tt
tools-home.tt
upload-images.tt
upload.tt
viewlog.tt Bug 32037: Check for existence of object before building link 2022-11-04 19:18:54 -03:00