From: Nick Clemens Date: Thu, 1 Nov 2018 15:11:36 +0000 (+0000) Subject: Bug 21750: Move collection code to its own column on checkins table X-Git-Url: http://git.equinoxoli.org/?p=koha.git;a=commitdiff_plain;h=34cefcd46bcc1433ea27846671fc13abbfed936f 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 Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index 8ef33f0..96b3a31 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -1114,6 +1114,8 @@ modules: - columnname: itype - + columnname: ccode + - columnname: borrower - columnname: itemnote diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index eb02762..0647470 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -791,6 +791,7 @@ Date acquired Record-level itemtype Item type + Collection Patron Note @@ -844,7 +845,10 @@ [% ItemTypes.GetDescription( riloo.recordtype ) | html %] - [% ItemTypes.GetDescription( riloo.itemtype ) | html %] [% AuthorisedValues.GetByCode('CCODE', riloo.ccode) | html %] + [% ItemTypes.GetDescription( riloo.itemtype ) | html %] + + + [% AuthorisedValues.GetByCode('CCODE', riloo.ccode) | html %] [% IF ( riloo.duedate ) %]