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 Bug 30952: Undo change to Home breadcrumb for remaining templates 2022-10-12 16:00:50 -03:00
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 Bug 31882: Correct titles for pages in new cataloging module 2022-10-24 15:40:40 -03:00
batch_delete_records.tt Bug 31882: Correct titles for pages in new cataloging module 2022-10-24 15:40:40 -03:00
batch_extend_due_dates.tt Bug 30952: Undo change to Home breadcrumb for remaining templates 2022-10-12 16:00:50 -03:00
batch_record_modification.tt Bug 31882: Correct titles for pages in new cataloging module 2022-10-24 15:40:40 -03:00
batchMod-del.tt Bug 31882: Correct titles for pages in new cataloging module 2022-10-24 15:40:40 -03:00
batchMod-edit.tt Bug 31882: Correct titles for pages in new cataloging module 2022-10-24 15:40:40 -03:00
batchMod.tt Bug 31882: Correct titles for pages in new cataloging module 2022-10-24 15:40:40 -03:00
cleanborrowers.tt Bug 30952: Undo change to Home breadcrumb for remaining templates 2022-10-12 16:00:50 -03:00
csv-profiles.tt Bug 30952: Undo change to Home breadcrumb for remaining templates 2022-10-12 16:00:50 -03:00
export.tt Bug 31882: Correct titles for pages in new cataloging module 2022-10-24 15:40:40 -03:00
holidays.tt Bug 32050: Add 'page-section' to calendar page 2022-11-02 19:22:36 -03:00
import_borrowers.tt Bug 31850: Patron import: welcome email option style as list 2022-10-24 13:22:09 -03:00
inventory.tt Bug 31882: Correct titles for pages in new cataloging module 2022-10-24 15:40:40 -03:00
letter.tt Bug 31766: Add page-section wrapper to notice table 2022-10-17 08:01:56 -03:00
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 Bug 31882: Correct titles for pages in new cataloging module 2022-10-24 15:40:40 -03:00
modborrowers.tt Bug 30952: Undo change to Home breadcrumb for remaining templates 2022-10-12 16:00:50 -03:00
overduerules.tt Bug 30952: Undo change to Home breadcrumb for remaining templates 2022-10-12 16:00:50 -03:00
page.tt Bug 15326: Using AdditionalContents for custom pages on OPAC 2022-08-16 15:42:24 -03:00
picture-upload.tt Bug 30952: Undo change to Home breadcrumb for remaining templates 2022-10-12 16:00:50 -03:00
preview_letter.tt Bug 30767: Changes word "issue" to "item" 2022-07-08 15:23:00 -03:00
problem-reports.tt Bug 30952: Undo change to Home breadcrumb for remaining templates 2022-10-12 16:00:50 -03:00
quotes-upload.tt Bug 30952: Undo change to Home breadcrumb for remaining templates 2022-10-12 16:00:50 -03:00
quotes.tt Bug 30952: Undo change to Home breadcrumb for remaining templates 2022-10-12 16:00:50 -03:00
scheduler.tt Bug 30952: Undo change to Home breadcrumb for remaining templates 2022-10-12 16:00:50 -03:00
showdiffmarc.tt Bug 30952: Undo change to Home breadcrumb for remaining templates 2022-10-12 16:00:50 -03:00
stage-marc-import.tt Bug 31812: Update 'Stage for import' button to be primary 2022-10-24 15:42:43 -03:00
stockrotation.tt Bug 31882: Correct titles for pages in new cataloging module 2022-10-24 15:40:40 -03:00
tools-home.tt Bug 31162: Add a cataloging module home page 2022-10-18 10:20:58 -03:00
upload-images.tt Bug 31882: Correct titles for pages in new cataloging module 2022-10-24 15:40:40 -03:00
upload.tt Bug 30952: Undo change to Home breadcrumb for remaining templates 2022-10-12 16:00:50 -03:00
viewlog.tt Bug 32037: Check for existence of object before building link 2022-11-04 19:18:54 -03:00