From 269fcb06ba5be273ccc902568ecd857efcd502fc Mon Sep 17 00:00:00 2001
From: Lucas Gass <lucas@bywatersolutions.com>
Date: Fri, 21 Apr 2023 14:10:51 +0000
Subject: [PATCH] Bug 33575: (follow-up) don't allow priority and pickup
 location to be hidden

---
 admin/columns_settings.yml                               | 4 ++++
 koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml
index 89432b10a6..a2f38a7605 100644
--- a/admin/columns_settings.yml
+++ b/admin/columns_settings.yml
@@ -1561,6 +1561,8 @@ modules:
               cannot_be_modified: 1
             -
               columnname: priority
+              cannot_be_toggled: 1
+              cannot_be_modified: 1
             -
               columnname: change_priority
             -
@@ -1573,6 +1575,8 @@ modules:
               columnname: expiration
             -
               columnname: pickup_library
+              cannot_be_toggled: 1
+              cannot_be_modified: 1
             -
               columnname: details
             -
diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc
index f46a3ef26a..a9c78d1439 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc
+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc
@@ -16,7 +16,7 @@
             <th id="pickup_library" data-colname="pickup_library">Pickup library</th>
             <th id="details" data-colname="details">Details</th>
             [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %]
-                <th id="set_lowest_priority" data-colname="set_lowest_priority"><i class="fa fa-lg fa-rotate-90 fa-fast-forward" title="Toggle set to lowest priority"></i></th>
+                <th id="set_lowest_priority" data-colname="set_lowest_priority"><span style="display:none;">Set lowest priority</span><i class="fa fa-lg fa-rotate-90 fa-fast-forward" title="Toggle set to lowest priority"></i></th>
             [% END %]
             <th id="delete" data-colname="delete">Delete</th>
             <th id="suspend" data-colname="suspend">Suspend</th>
-- 
2.30.2