Bug 15485: (QA followup) Simplify logic and use *ResultsDisplay value during upgrade
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 22 Jun 2016 17:52:03 +0000 (14:52 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 24 Jun 2016 13:30:31 +0000 (13:30 +0000)
commit609f5371288d2876b52cd086aeabf5e07ae08537
tree86c7bb5dc67dbeccd726d1970a12652fd78fbe9c
parentadd61ef614d171dbc4ecda95ec8cfb70a1ad40a0
Bug 15485: (QA followup) Simplify logic and use *ResultsDisplay value during upgrade

This patch makes the new sysprefs work as the previously defined. Instead of falling back
to what *ResultsDisplay is set, it now has its own 'default' (that still defaults to the
*Results*.xslt).

The default values are set to 'default' as the rest of XSLT-related sysprefs, and the upgrade
picks whatever is set in OPACXSLTResultsDisplay and XSLTResultsDisplay so current behaviour
is preserved.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
New XSLTs for Lists work as advertised

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
installer/data/mysql/atomicupdate/bug_15485_xslt_for_lists.sql
installer/data/mysql/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref
opac/opac-shelves.pl
virtualshelves/shelves.pl