From ba74d4bacd4b94b4161ae76488409e0c1e71b618 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 3 May 2022 15:45:24 +0000 Subject: [PATCH] Bug 30269: (follow-up) Remove object references as using directly now --- .../intranet-tmpl/prog/en/modules/reserve/request.tt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt index 9e62356d58..9e1d399721 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -1072,7 +1072,7 @@ [% SET itemtypes = [] %] [% FOREACH h IN biblioloo.reserveloop %] - [% SET hold_itemtype = h.object.item.effective_itemtype || h.itemtype %] + [% SET hold_itemtype = h.item.effective_itemtype || h.itemtype %] [% itemtypes.push( hold_itemtype ) %] [% END %] [% itemtypes = itemtypes.unique %] @@ -1085,7 +1085,7 @@ [% FOREACH i IN itemtypes.sort %] [% SET holds_by_itemtype = [] %] [% FOREACH h IN biblioloo.reserveloop %] - [% SET hold_itemtype = h.object.item.effective_itemtype || h.itemtype %] + [% SET hold_itemtype = h.item.effective_itemtype || h.itemtype %] [% IF hold_itemtype == i %] [% holds_by_itemtype.push( h ) %] [% END %] @@ -1127,7 +1127,7 @@ [% SET itemtypes = [] %] [% FOREACH h IN holds_by_branch %] - [% SET hold_itemtype = h.object.item.effective_itemtype || h.itemtype %] + [% SET hold_itemtype = h.item.effective_itemtype || h.itemtype %] [% itemtypes.push( hold_itemtype ) %] [% END %] [% itemtypes = itemtypes.unique %] @@ -1144,7 +1144,7 @@ [% SET holds_by_itemtype = [] %] [% FOREACH h IN holds_by_branch %] - [% SET hold_itemtype = h.object.item.effective_itemtype || h.itemtype %] + [% SET hold_itemtype = h.item.effective_itemtype || h.itemtype %] [% IF hold_itemtype == i %] [% holds_by_itemtype.push( h ) %] [% END %] -- 2.30.2