From 94d6b46d7ac95b26a0bb6950534d56c7c3119ea5 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 1 Nov 2018 15:11:36 +0000 Subject: [PATCH] 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 --- admin/columns_settings.yml | 2 ++ koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index a73e577dea..22f181b8cc 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -1111,6 +1111,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 eb027621ee..0647470a5e 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 ) %] -- 2.11.0