Browse Source

Bug 21750: Move collection code to its own column on checkins table

To test:
 1 - Set 'ShowAllCheckins' to show
 2 - Set a collcection code for an item
 3 - Check it in
 4 - Note it displays in the the 'Item type' column
 5 - Apply patch
 6 - Check it in again
 7 - Note the new 'Collection' column
 8 - Hide/show the column using column visibility on the checkins page
 9 - Go to Admin->Configure columns
10 - Test the various settings for this column and check in the item to
make sure they work as expected

Signed-off-by: Devinim <kohadevinim@devinim.com.tr>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
20.11.x
Nick Clemens 4 years ago
committed by Jonathan Druart
parent
commit
34cefcd46b
  1. 2
      admin/columns_settings.yml
  2. 6
      koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt

2
admin/columns_settings.yml

@ -1113,6 +1113,8 @@ modules:
columnname: record_type
-
columnname: itype
-
columnname: ccode
-
columnname: borrower
-

6
koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt

@ -791,6 +791,7 @@
<th class="ci-dateaccessioned">Date acquired</th>
<th class="ci-recordlevelitemtype">Record-level itemtype</th>
<th class="ci-itemtype">Item type</th>
<th class="ci-collection">Collection</th>
<th class="ci-patron">Patron</th>
<th class="ci-note">Note</th>
</tr>
@ -844,7 +845,10 @@
[% ItemTypes.GetDescription( riloo.recordtype ) | html %]
</td>
<td class="ci-itemtype">
[% ItemTypes.GetDescription( riloo.itemtype ) | html %] [% AuthorisedValues.GetByCode('CCODE', riloo.ccode) | html %]
[% ItemTypes.GetDescription( riloo.itemtype ) | html %]
</td>
<td class="ci-collection">
[% AuthorisedValues.GetByCode('CCODE', riloo.ccode) | html %]
</td>
<td class="ci-patron">
[% IF ( riloo.duedate ) %]

Loading…
Cancel
Save