From a79e747b5bb36cf446c6a8c320997c65ee7b025d Mon Sep 17 00:00:00 2001
From: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Date: Wed, 18 Sep 2024 10:22:51 +0000
Subject: [PATCH] Bug 37954: Fix barcode column name
Patch https://github.com/Koha-Community/Koha/commit/6cbbfa2 changed holdings_barcode to holdings_barcodes
I believe this caused the configuration from the table to no longer work (barcodes!=barcode)
Test plan:
1) Access any bibllio:
<staff_url>/cgi-bin/koha/catalogue/detail.pl?biblionumber=76
2) On the top right of the table, click 'Configure'
3) Expand 'Catalog', search for 'holdings_barcode'. Tick 'is hidden by default'. Save.
4) Visit the biblio again, notice the column is still showing.
5) Apply patch. Restart all + flush_memcached. Repeat.
6) Bonus: On the table, click 'Show filters'. Make sure barcode filtering still works.
---
admin/columns_settings.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml
index 82548ed2c5..f911f099c3 100644
--- a/admin/columns_settings.yml
+++ b/admin/columns_settings.yml
@@ -411,7 +411,7 @@ modules:
-
columnname: holdings_datelastborrowed
-
- columnname: holdings_barcodes
+ columnname: holdings_barcode
-
columnname: holdings_uri
-
--
2.39.2