From cee26c989a8705be75d969f02c5eb573c09f8ee1 Mon Sep 17 00:00:00 2001
From: Katrin Fischer <katrin.fischer.83@web.de>
Date: Fri, 29 Jan 2021 00:00:34 +0100
Subject: [PATCH] Bug 18989: (QA follow-up) Have new preference default to
 current behaviour

At the moments the records are hidden when all items are hidden, so
we need to make sure that we keep this behaviour when the preference
is added.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
---
 installer/data/mysql/atomicupdate/bug_18989.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/installer/data/mysql/atomicupdate/bug_18989.sql b/installer/data/mysql/atomicupdate/bug_18989.sql
index 07a3974453..02f059c213 100644
--- a/installer/data/mysql/atomicupdate/bug_18989.sql
+++ b/installer/data/mysql/atomicupdate/bug_18989.sql
@@ -1,2 +1,2 @@
 INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
-('OpacHiddenItemsHidesRecord','0','','Hide biblio record when all its items are hidden because of OpacHiddenItems','YesNo');
+('OpacHiddenItemsHidesRecord','1','','Hide bibliographic record when all its items are hidden because of OpacHiddenItems','YesNo');
-- 
2.11.0