Bug 35564: Add homebranch to the holds queue report

To test:
1 - Place some holds in your system
2 - perl misc/cronjobs/holds/build_holdsqueue.pl
3 - View the holds queue
4 - Note there is no holding branch column
5 - APPLY PATCH
6 - Reload and try again
7 - Note the column is not there
8 - Click column setting gear to expose the column
9 - Go to Admin -> Table settings and make sure you can expose the column via Table settings

Signed-off-by: Michelle <mspinney@clamsnet.org>
Signed-off-by: Brendan Lawlor <blawlor@clamsnet.org>
Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Lucas Gass 2023-12-13 20:58:01 +00:00 committed by Katrin Fischer
parent fcbb5fceb8
commit ce4e4ba516
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
2 changed files with 10 additions and 0 deletions

View File

@ -1614,6 +1614,9 @@ modules:
-
columnname: holdingbranch
is_hidden: 1
-
columnname: homebranch
is_hidden: 1
-
columnname: collection
-

View File

@ -78,6 +78,7 @@
<tr>
<th class="hq-title anti-the">Title</th>
<th class="hq-holdingbranch">Current library</th>
<th class="hq-homebranch">Home library</th>
<th class="hq-collection">Collection</th>
<th class="hq-itemtype">Item type</th>
<th class="hq-callnumber">Call number</th>
@ -101,6 +102,11 @@
<input class="text_filter" type="text" placeholder="Current library">
</span>
</td>
<td class="hq-homebranch">
<span class="filter_column filter_text">
<input class="text_filter" type="text" placeholder="Home library">
</span>
</td>
<td class="hq-collection">
<span class="filter_column filter_text">
<input type="text" placeholder="Collection">
@ -184,6 +190,7 @@
</div>
</td>
<td class="hq-holdingbranch">[% Branches.GetName( itemsloo.holdingbranch ) | html %]</td>
<td class="hq-homebranch">[% Branches.GetName( itemsloo.item.homebranch ) | html %]</td>
<td class="hq-collection">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => itemsloo.item.ccode ) | html %]</td>
<td class="hq-itemtype">[% ItemTypes.GetDescription( itemsloo.item.effective_itemtype ) | html %]</td>
<td class="hq-callnumber">[% IF ( itemsloo.item.location ) %]<em>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => itemsloo.item.location ) | html %]</em> [% END %][% itemsloo.item.itemcallnumber | html %]</td>