Bug 22466: Replace existing occurrences
Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
158b3c3a4c
commit
9ff997eda7
3 changed files with 10 additions and 10 deletions
|
@ -542,7 +542,7 @@
|
|||
[% SET branchcodes = [] %]
|
||||
|
||||
[% FOREACH h IN biblioloo.reserveloop %]
|
||||
[% branchcodes.push( h.branchcode ) | $raw %]
|
||||
[% branchcodes.push( h.branchcode ) %]
|
||||
[% END %]
|
||||
[% branchcodes = branchcodes.unique %]
|
||||
|
||||
|
@ -550,7 +550,7 @@
|
|||
[% SET holds_by_branch = [] %]
|
||||
[% FOREACH h IN biblioloo.reserveloop %]
|
||||
[% IF h.branchcode == b %]
|
||||
[% holds_by_branch.push( h ) | $raw %]
|
||||
[% holds_by_branch.push( h ) %]
|
||||
[% END %]
|
||||
[% END %]
|
||||
<fieldset>
|
||||
|
@ -563,7 +563,7 @@
|
|||
|
||||
[% FOREACH h IN biblioloo.reserveloop %]
|
||||
[% SET hold_itemtype = h.object.item.effective_itemtype || h.itemtype %]
|
||||
[% itemtypes.push( hold_itemtype ) | $raw %]
|
||||
[% itemtypes.push( hold_itemtype ) %]
|
||||
[% END %]
|
||||
[% itemtypes = itemtypes.unique %]
|
||||
|
||||
|
@ -572,7 +572,7 @@
|
|||
[% FOREACH h IN biblioloo.reserveloop %]
|
||||
[% SET hold_itemtype = h.object.item.effective_itemtype || h.itemtype %]
|
||||
[% IF hold_itemtype == i %]
|
||||
[% holds_by_itemtype.push( h ) | $raw %]
|
||||
[% holds_by_itemtype.push( h ) %]
|
||||
[% END %]
|
||||
[% END %]
|
||||
|
||||
|
@ -589,7 +589,7 @@
|
|||
[% SET branchcodes = [] %]
|
||||
|
||||
[% FOREACH h IN biblioloo.reserveloop %]
|
||||
[% branchcodes.push( h.branchcode ) | $raw %]
|
||||
[% branchcodes.push( h.branchcode ) %]
|
||||
[% END %]
|
||||
[% branchcodes = branchcodes.unique %]
|
||||
|
||||
|
@ -599,14 +599,14 @@
|
|||
[% SET holds_by_branch = [] %]
|
||||
[% FOREACH h IN biblioloo.reserveloop %]
|
||||
[% IF h.branchcode == b %]
|
||||
[% holds_by_branch.push( h ) | $raw %]
|
||||
[% holds_by_branch.push( h ) %]
|
||||
[% END %]
|
||||
[% END %]
|
||||
|
||||
[% SET itemtypes = [] %]
|
||||
[% FOREACH h IN holds_by_branch %]
|
||||
[% SET hold_itemtype = h.object.item.effective_itemtype || h.itemtype %]
|
||||
[% itemtypes.push( hold_itemtype ) | $raw %]
|
||||
[% itemtypes.push( hold_itemtype ) %]
|
||||
[% END %]
|
||||
[% itemtypes = itemtypes.unique %]
|
||||
|
||||
|
@ -622,7 +622,7 @@
|
|||
[% FOREACH h IN holds_by_branch %]
|
||||
[% SET hold_itemtype = h.object.item.effective_itemtype || h.itemtype %]
|
||||
[% IF hold_itemtype == i %]
|
||||
[% holds_by_itemtype.push( h ) | $raw %]
|
||||
[% holds_by_itemtype.push( h ) %]
|
||||
[% END %]
|
||||
[% END %]
|
||||
[% INCLUDE holds_table.inc holds=holds_by_itemtype %]
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
[% url_params = [] %]
|
||||
[% FOREACH param IN CGI.params.pairs %]
|
||||
[% escaped_value = BLOCK %][% param.value | uri %][% END %]
|
||||
[% url_params.push(param.key _ '=' _ escaped_value) | html %]
|
||||
[% url_params.push(param.key _ '=' _ escaped_value) %]
|
||||
[% END %]
|
||||
[% SET referrer = '/cgi-bin/koha/serials/serials-search.pl?' %]
|
||||
[% referrer = BLOCK %][% referrer | url %][% url_params.join("&") |uri %][% END %]
|
||||
|
|
|
@ -279,7 +279,7 @@
|
|||
[% IF Koha.Preference('AllowHoldItemTypeSelection') %]
|
||||
[% itemtypes = [] %]
|
||||
[% FOREACH item IN bibitemloo.itemLoop %]
|
||||
[% itemtypes.push( item.itype ) | html %]
|
||||
[% itemtypes.push( item.itype ) %]
|
||||
[%- END %]
|
||||
<li>
|
||||
<label for="itemtype">Request specific item type:</label>
|
||||
|
|
Loading…
Reference in a new issue