From b27fc54c5f83a11df451d2b6e73f9b3b4e1a46a3 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 7 May 2024 09:45:56 +0100 Subject: [PATCH] Bug 36757: Sync concerns tables This patch re-syncs the two catalog concerns display tables markup. We add the 'Title' field into the catalog/detail version of the table and split the columns settings so you can control the table distinctly from the cataloguing module version so we can hide 'title' by default in the details display tab. This results in the table matching the display from the cataloguing module page, i.e. the assignee and status detail displays. --- admin/columns_settings.yml | 18 ++++++++++ .../prog/en/modules/catalogue/detail.tt | 36 ++++++++++++++++--- 2 files changed, 50 insertions(+), 4 deletions(-) diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index b7e0bf441ff..a745675e465 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -573,6 +573,24 @@ modules: cannot_be_toggled: 1 cannot_be_modified: 1 + concerns: + table_concerns: + default_sort_order: 0 + columns: + - + columnname: reported + - + columnname: details + - + columnname: title + is_hidden: 1 + - + columnname: status + - + columnname: actions + cannot_be_toggled: 1 + cannot_be_modified: 1 + cataloguing: addbooks: reservoir-table: diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index 8787cfc3055..21ae423a3f4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -673,6 +673,7 @@ Reported Details + Title Status Actions @@ -1024,7 +1025,7 @@ [% IF ( ( Koha.Preference('CatalogConcerns') || Koha.Preference('OpacCatalogConcerns') ) && CAN_user_editcatalogue_edit_catalogue ) %]