Bug 12361 - No default value for opaccolorstylesheet syspref
commit75af5146560e90117f6e07f80b35c36c283a7ada
authorFridolin Somers <fridolin.somers@biblibre.com>
Thu, 5 Jun 2014 07:28:29 +0000 (5 09:28 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 30 Jun 2014 13:05:19 +0000 (30 10:05 -0300)
treeb62905a94c760f3b868e9fe32e9fb36c2a3f84d7
parentd253ec12997d0ae2fc982036f421125c6ae20756
Bug 12361 - No default value for opaccolorstylesheet syspref

After install, the syspref opaccolorstylesheet will by default contain colors.css.
This file exist in OPAC prog theme but not in bootstrap theme.

This patch set the syspref empty by default in installer/data/mysql/sysprefs.sql.

Test plan :
- Create a fresh install
- Look at opaccolorstylesheet content
=> without this patch : is contains colors.css
=> with this patch : it is empty
- Enable opac bootstrap theme
- Go to opac main page
- Look at HTTP errors (with firebug for example)
=> without this patch : there is a 404 error because colors.css does not exist
=> with this patch : no such error

Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
installer/data/mysql/sysprefs.sql