From 0490d2f61b857ca11bb5a6dd42a24f48482afe3c Mon Sep 17 00:00:00 2001
From: Katrin Fischer <katrin.fischer.83@web.de>
Date: Wed, 20 Jun 2018 00:16:38 +0200
Subject: [PATCH] Bug 19719: (follow-up) Add database update to keep collection
 column hidden

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.
---
 .../mysql/atomicupdate/bug_19719_add_collection_column.sql   | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 installer/data/mysql/atomicupdate/bug_19719_add_collection_column.sql

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
index 0000000000..bbf0a65a90
--- /dev/null
+++ b/installer/data/mysql/atomicupdate/bug_19719_add_collection_column.sql
@@ -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
-- 
2.17.1