From 3c2b36577bad9f4bb22cc9a0115231c248923d9d Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 15 Nov 2024 15:18:38 +0100 Subject: [PATCH] Bug 38436: Adjust column names for the holdings tables Removing the prefix holdings_ and otherholdings_ Could have been done at the code level but does not seem necessary to have different column names Signed-off-by: Owen Leonard Signed-off-by: Paul Derscheid --- admin/columns_settings.yml | 116 +++++++++--------- .../tables/items/catalogue_detail.inc | 58 ++++----- 2 files changed, 87 insertions(+), 87 deletions(-) diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index b4f487d965e..293a109bf08 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -412,69 +412,69 @@ modules: default_display_length: 20 columns: - - columnname: holdings_checkbox + columnname: checkbox cannot_be_toggled: 1 cannot_be_modified: 1 - - columnname: holdings_cover_image + columnname: cover_image - - columnname: holdings_itype + columnname: itype - - columnname: holdings_holdingbranch + columnname: holdingbranch - - columnname: holdings_homebranch + columnname: homebranch - - columnname: holdings_ccode + columnname: ccode - - columnname: holdings_item_group + columnname: item_group - - columnname: holdings_itemcallnumber + columnname: itemcallnumber - - columnname: holdings_enumchron + columnname: enumchron - - columnname: holdings_status + columnname: status - - columnname: holdings_lastseen + columnname: lastseen - - columnname: holdings_issues + columnname: issues is_hidden: 1 - - columnname: holdings_renewals + columnname: renewals is_hidden: 1 - - columnname: holdings_localuse + columnname: localuse is_hidden: 1 - - columnname: holdings_dateaccessioned + columnname: dateaccessioned - - columnname: holdings_datelastborrowed + columnname: datelastborrowed - - columnname: holdings_booksellerid + columnname: booksellerid is_hidden: 1 - - columnname: holdings_barcode + columnname: barcode - - columnname: holdings_uri + columnname: uri - - columnname: holdings_copynumber + columnname: copynumber - - columnname: holdings_stocknumber + columnname: stocknumber - - columnname: holdings_materials + columnname: materials - - columnname: holdings_itemnotes + columnname: itemnotes - - columnname: holdings_itemnotes_nonpublic + columnname: itemnotes_nonpublic - - columnname: holdings_hostrecord + columnname: hostrecord - - columnname: holdings_usedin + columnname: usedin - - columnname: holdings_course_reserves + columnname: course_reserves - - columnname: holdings_spinelabel + columnname: spinelabel - - columnname: holdings_actions + columnname: actions cannot_be_toggled: 1 cannot_be_modified: 1 @@ -482,69 +482,69 @@ modules: default_display_length: 20 columns: - - columnname: otherholdings_checkbox + columnname: checkbox cannot_be_toggled: 1 cannot_be_modified: 1 - - columnname: otherholdings_cover_image + columnname: cover_image - - columnname: otherholdings_itype + columnname: itype - - columnname: otherholdings_holdingbranch + columnname: holdingbranch - - columnname: otherholdings_homebranch + columnname: homebranch - - columnname: otherholdings_ccode + columnname: ccode - - columnname: otherholdings_item_group + columnname: item_group - - columnname: otherholdings_itemcallnumber + columnname: itemcallnumber - - columnname: otherholdings_enumchron + columnname: enumchron - - columnname: otherholdings_status + columnname: status - - columnname: otherholdings_lastseen + columnname: lastseen - - columnname: otherholdings_issues + columnname: issues is_hidden: 1 - - columnname: otherholdings_renewals + columnname: renewals is_hidden: 1 - - columnname: otherholdings_localuse + columnname: localuse is_hidden: 1 - - columnname: otherholdings_dateaccessioned + columnname: dateaccessioned - - columnname: otherholdings_datelastborrowed + columnname: datelastborrowed - - columnname: otherholdings_booksellerid + columnname: booksellerid is_hidden: 1 - - columnname: otherholdings_barcode + columnname: barcode - - columnname: otherholdings_uri + columnname: uri - - columnname: otherholdings_copynumber + columnname: copynumber - - columnname: otherholdings_stocknumber + columnname: stocknumber - - columnname: otherholdings_materials + columnname: materials - - columnname: otherholdings_itemnotes + columnname: itemnotes - - columnname: otherholdings_itemnotes_nonpublic + columnname: itemnotes_nonpublic - - columnname: otherholdings_hostrecord + columnname: hostrecord - - columnname: otherholdings_usedin + columnname: usedin - - columnname: otherholdings_course_reserves + columnname: course_reserves - - columnname: otherholdings_spinelabel + columnname: spinelabel - - columnname: otherholdings_actions + columnname: actions cannot_be_toggled: 1 cannot_be_modified: 1 diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc index 047f095fd55..a8f3d7979f7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc @@ -9,39 +9,39 @@ [% BLOCK build_table %] - + [% IF Koha.Preference('LocalCoverImages') %] - + [% END %] - [% IF ( item_level_itypes ) %][% END %] - - - + [% IF ( item_level_itypes ) %][% END %] + + + [% IF Koha.Preference('EnableItemGroups') %] - + [% END %] - - - - - - - - - - - - - - - - - - [% IF Koha.Preference('EasyAnalyticalRecords') %][% END %] - [% IF ( analyze ) %][% END %] - [% IF Koha.Preference('UseCourseReserves') %][% END %] - [% IF ( SpineLabelShowPrintOnBibDetails ) %][% END %] - [% IF ( CAN_user_editcatalogue_edit_items ) %][% END %] + + + + + + + + + + + + + + + + + + [% IF Koha.Preference('EasyAnalyticalRecords') %][% END %] + [% IF ( analyze ) %][% END %] + [% IF Koha.Preference('UseCourseReserves') %][% END %] + [% IF ( SpineLabelShowPrintOnBibDetails ) %][% END %] + [% IF ( CAN_user_editcatalogue_edit_items ) %][% END %]
Cover imageCover imageItem typeCurrent libraryHome libraryCollectionItem typeCurrent libraryHome libraryCollectionItem groupItem groupCall numberSerial enumeration / chronologyStatusLast seenCheckoutsRenewalsLocal usesDate accessionedDate last borrowedSource of acquisitionBarcodeURLCopy numberInventory numberMaterials specifiedPublic notesNon-public notesHost recordsUsed inCourse reservesSpine label Call numberSerial enumeration / chronologyStatusLast seenCheckoutsRenewalsLocal usesDate accessionedDate last borrowedSource of acquisitionBarcodeURLCopy numberInventory numberMaterials specifiedPublic notesNon-public notesHost recordsUsed inCourse reservesSpine label 
-- 2.34.1