Browse Source

Bug 32421: Add collection column to holds to pull

To test:

1. Place some holds
2. Go to Circulation > Holds to pull
3. Notice there is not column to indicate collection ( CCODE )
4. Apply patch and restart services
5. Step 2 again, this time you should see a column for holds to pull
6. Using both the Columns button and via 'Table setting' attempt to hide the column and other columns. Ensure everything is being heiiden correctly.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Bug 32421: (follow-up) Correct table settings

Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
master
Lucas Gass 4 months ago
committed by Tomas Cohen Arazi
parent
commit
375fbd1704
  1. 2
      admin/columns_settings.yml
  2. 1
      circ/pendingreserves.pl
  3. 9
      koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt

2
admin/columns_settings.yml

@ -1541,6 +1541,8 @@ modules:
columnname: itemtypes
-
columnname: locations
-
columnname: collection
-
columnname: hold_date
-

1
circ/pendingreserves.pl

@ -269,6 +269,7 @@ foreach my $bibnum ( @biblionumbers ){
# get available values for each biblio
my $fields = {
collections => 'ccode',
locations => 'location',
callnumbers => 'itemcallnumber',
enumchrons => 'enumchron',

9
koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt

@ -80,6 +80,7 @@
<th>Available enumeration</th>
<th class="string-sort">Available item types</th>
<th class="string-sort">Available locations</th>
<th class="string-sort">Available collections</th>
<th>Earliest hold date</th>
<th>Hold notes</th>
<th class="string-sort">Pickup location</th>
@ -191,6 +192,13 @@
[% END %]
</ul>
</td>
<td>
<ul>
[% FOREACH ccode IN hold_info.collections %]
<li>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => ccode ) | html %]</li>
[% END %]
</ul>
</td>
<td data-order="[% hold.reservedate | html %]">
[% hold.reservedate | $KohaDates %] in [% Branches.GetName ( hold.branchcode ) | html %]
</td>
@ -259,6 +267,7 @@
<td id="locationfilter"></td>
<td></td>
<td></td>
<td></td>
<td id="pickup-location"></td>
<td></td>
</tr>

Loading…
Cancel
Save