Koha/koha-tmpl/intranet-tmpl/prog/en/modules
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
..
acqui Bug 32076: Add page-section to basketgroup.tt and clean-up markup 2022-11-03 10:02:07 -03:00
admin Bug 32006: Add page-section for local use system preferences 2022-11-03 09:52:38 -03:00
authorities Bug 31877: Fix capitalization: "Delete this Tag" and "Repeat this Tag" 2022-11-02 19:24:29 -03:00
basket
batch
catalogue Bug 31881: Fix search link in MARC view 2022-11-04 19:03:40 -03:00
cataloguing Bug 31987: (QA follow-up) Fix indentation and remove trailing spaces 2022-11-04 19:01:56 -03:00
circ Bug 30718: Fix curbside pickups 2022-11-04 08:28:39 -03:00
clubs Bug 31764: Add 'page-section' to patron clubs page 2022-10-17 08:01:24 -03:00
course_reserves
errors
ill Bug 22321: Allow managing the borrowernumber tied to ILL request 2022-10-24 17:33:16 -03:00
installer
labels Bug 32085: Consistent classes for primary buttons: Labels 2022-11-04 19:16:18 -03:00
mana
members Bug 21381: Add serial enumeration to circulation/checkout history 2022-11-04 19:01:56 -03:00
offline_circ
onboarding
patron_lists
patroncards
plugins
pos Bug 29987: (QA follow-up) Remove unused cnt attribute missing a filter 2022-10-21 10:18:54 -03:00
recalls
reports Bug 31753: Dialog boxes inside of modals don't seem wide enough 2022-10-21 10:19:39 -03:00
reserve Bug 31905: Fix button spacing on holds page 2022-10-27 09:35:10 -03:00
reviews
rotating_collections Bug 31911: (follow-up) Rename second level heading 2022-10-24 17:05:56 -03:00
serials
services
suggestion Bug 32038: Sidebar and footer style improvements on suggestions page 2022-11-02 19:20:29 -03:00
tags Bug 31767: Add 'page-section' to tags page 2022-10-17 08:00:57 -03:00
test
tools Bug 32037: Check for existence of object before building link 2022-11-04 19:18:54 -03:00
virtualshelves Bug 7960: Add class to item type descriptions so they can be hidden with CSS 2022-10-24 17:27:50 -03:00
about.tt
auth.tt Bug 30588: Add selenium tests 2022-10-21 11:36:58 -03:00
intranet-main.tt Bug 32035: Add "Koha" to the staff interface home page 2022-11-02 19:17:04 -03:00