[Koha-bugs] [Bug 12361] No default value for opaccolorstylesheet syspref

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 6 06:59:03 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12361

David Cook <dcook at prosentient.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #28669|0                           |1
        is obsolete|                            |

--- Comment #3 from David Cook <dcook at prosentient.com.au> ---
Created attachment 28692
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=28692&action=edit
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 at prosentient.com.au>

Glad to see this one. That warning was annoying.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list