From af95e03c083a8ae3d9fcb1749723e798f0ff4a30 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Mon, 6 Apr 2026 15:14:00 +0000 Subject: [PATCH] Bug 41983: Display in UI Test plan: 0) Update the database (ktd, ignore if sandbox): $ updatedatabase 1) Enable DisplayAddHoldGroups sys prefs 2) Go to 'Henry' and click 'Search to hold': /cgi-bin/koha/members/moremember.pl?borrowernumber=19 3) Search for 'test' and click the top 'Select all' link 4) Click the downward arrow in the 'Place hold' button and pick 'Place hold for Henry' 5) Set a pickup location for each hold and tick the 'Treat as hold group' checkbox 6) Click 'Place holds'. 7) Run build_holds_queue.pl: perl misc/cronjobs/holds/build_holds_queue.pl --force 8) Visit the Holds queue page: /cgi-bin/koha/circ/view_holdsqueue.pl?branchlimit=&itemtypeslimit=&run_report=1 9) Confirm the 'part of a hold group' bit shows and display the modal like 'Holds to pull' Signed-off-by: David Nind Signed-off-by: Andrew Fuerste Henry Signed-off-by: Lucas Gass --- .../intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt index 0f5524437a..ac92e192e5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt @@ -221,6 +221,9 @@

[% INCLUDE 'biblio-title.inc' biblio=itemsloo.biblio link = 1 %]

[% itemsloo.biblionumber | html %]
+ [% IF ( itemsloo.hold_group_id ) %] +

(part of a hold group)

+ [% END %] [% itemsloo.biblio.author | html %] @@ -272,10 +275,6 @@ > or any available [% END %] - [% # NOTE: This will never work as hold_group_id doesn't appear in the tmp_holdsqueue table %] - [% IF itemsloo.can('hold_group_id') && ( itemsloo.hold_group_id ) %] -
(part of a hold group)
- [% END %]

[% INCLUDE 'patron-title.inc' invert_name=1 patron=itemsloo.patron hide_patron_infos_if_needed=1 link_to="circulation_reserves" %]