From 3abfe484f94720992a25855cada94b3b5aab4e34 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. Signed-off-by: Andrew Fuerste Henry Signed-off-by: David Nind Signed-off-by: Katrin Fischer --- admin/columns_settings.yml | 18 +++++++++ .../prog/en/modules/catalogue/detail.tt | 38 ++++++++++++++++--- 2 files changed, 51 insertions(+), 5 deletions(-) diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index b7e0bf441f..a745675e46 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 8787cfc305..ac0904c3ae 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 ) %]