Bug 12361 - No default value for opaccolorstylesheet syspref
authorFridolin Somers <fridolin.somers@biblibre.com>
Thu, 5 Jun 2014 07:28:29 +0000 (09:28 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 23 Jul 2014 20:44:31 +0000 (20:44 +0000)
commita001e705eff71b661ddb54066ec9b479731f35d1
treea8d6dab2e4c9db8521d9430acea1049090ab2313
parent77b23d9396a9baccbfee29dfed80ed7d73186764
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>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
installer/data/mysql/sysprefs.sql