Bug 19719: (follow-up) Add database update to keep collection column hidden
authorKatrin Fischer <katrin.fischer.83@web.de>
Tue, 19 Jun 2018 22:16:38 +0000 (00:16 +0200)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 22 Aug 2018 13:22:23 +0000 (13:22 +0000)
For existing installations we want to keep the current behaviour.
This patch adds the column configuration to hide the collection
column from the details and checkouts tabs until toggled.

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
installer/data/mysql/atomicupdate/bug_19719_add_collection_column.sql [new file with mode: 0644]

diff --git a/installer/data/mysql/atomicupdate/bug_19719_add_collection_column.sql b/installer/data/mysql/atomicupdate/bug_19719_add_collection_column.sql
new file mode 100644 (file)
index 0000000..bbf0a65
--- /dev/null
@@ -0,0 +1,5 @@
+INSERT INTO columns_settings (module, page, tablename, columnname, cannot_be_toggled, is_hidden) VALUES
+("circ", "circulation", "issues-table", "collection", 0, 1),
+("members", "moremember", "issues-table", "collection", 0, 1);
+
+-- Bug 19719: Add collection column to issues table