From e58421e5db355e8700caf19a24bc1e6be55ee9f1 Mon Sep 17 00:00:00 2001
From: Magnus Enger <magnus@enger.priv.no>
Date: Tue, 16 Apr 2013 06:48:39 -0400
Subject: [PATCH] Bug 9867 - Make XSLT view the default for Norwegian installations

XSLT is the only view that is maintained for NORMARC, so it makes
sense for all new, Norwegian installations to use XSLT.

To test:
- Run through the Web-insatller in Norwegian, making sure that the
  (mandatory) choice "Standard systempreferanser (system_preferences)"
  is selected.
- When the Web-installer is done, check that all 4 XSLT preferences
  (OPACXSLTDetailsDisplay, OPACXSLTResultsDisplay, XSLTDetailsDisplay,
  XSLTResultsDisplay) are set to "default".
---
 .../nb-NO/1-Obligatorisk/system_preferences.sql    |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/installer/data/mysql/nb-NO/1-Obligatorisk/system_preferences.sql b/installer/data/mysql/nb-NO/1-Obligatorisk/system_preferences.sql
index c605944..ab8b5b6 100644
--- a/installer/data/mysql/nb-NO/1-Obligatorisk/system_preferences.sql
+++ b/installer/data/mysql/nb-NO/1-Obligatorisk/system_preferences.sql
@@ -28,3 +28,7 @@ UPDATE systempreferences SET value = '<p>Viktige lenker kan plasseres her</p>' W
 UPDATE systempreferences SET value = '<li><a href="http://worldcat.org/search?q={TITLE}" target="_blank">Andre bibliotek (WorldCat)</a></li><li><a href="http://www.scholar.google.com/scholar?q={TITLE}" target="_blank">Andre databaser (Google Scholar)</a></li><li><a href="http://www.bookfinder.com/search/?author={AUTHOR}&amp;title={TITLE}&amp;st=xl&amp;ac=qr" target="_blank">Nettbutikker (Bookfinder.com)</a></li>' WHERE variable = 'OPACSearchForTitleIn';
 UPDATE systempreferences SET value = 'Monday' WHERE variable = 'CalendarFirstDayOfWeek';
 UPDATE systempreferences SET value = 'A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Æ Ø Å' WHERE variable = 'alphabet';
+UPDATE systempreferences SET value = 'default' WHERE variable = 'OPACXSLTDetailsDisplay';
+UPDATE systempreferences SET value = 'default' WHERE variable = 'OPACXSLTResultsDisplay';
+UPDATE systempreferences SET value = 'default' WHERE variable = 'XSLTDetailsDisplay';
+UPDATE systempreferences SET value = 'default' WHERE variable = 'XSLTResultsDisplay';
-- 
1.7.2.5