Bugzilla – Attachment 137726 Details for
Bug 30269
Use objects directly to display holds on request.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30269: (follow-up) Remove object references as using directly now
Bug-30269-follow-up-Remove-object-references-as-us.patch (text/plain), 3.40 KB, created by
Nick Clemens (kidclamp)
on 2022-07-14 14:34:23 UTC
(
hide
)
Description:
Bug 30269: (follow-up) Remove object references as using directly now
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2022-07-14 14:34:23 UTC
Size:
3.40 KB
patch
obsolete
>From ba74d4bacd4b94b4161ae76488409e0c1e71b618 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 30269
:
131558
|
131559
|
132245
|
134548
|
134552
|
136794
|
137725
| 137726