Bug 21891: (follow-up) Update database to set blank values to "default"
authorOwen Leonard <oleonard@myacpl.org>
Thu, 11 Apr 2019 11:03:20 +0000 (11:03 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 12 Apr 2019 01:41:17 +0000 (01:41 +0000)
commit1fe39ed657bbc1e45181860cc1d9a2d29aff08d6
tree8e7b1fcc037422fb5815fc64701b545b6c9494b3
parent920ac202dc1f91e51f43dd07822636c5bbee6a48
Bug 21891: (follow-up) Update database to set blank values to "default"

This patch adds a database update which will update any blank values of
the XSLTDetailsDisplay system preference to "default." Although a blank
value will still result in the default XSLT view, it's more consistent
with the other XSLT preferences to use "default."

To test, apply the patch and set the XSLTDetailsDisplay to a blank
value. Run the database update. The value of the XSLTDetailsDisplay
system preference should now be "default."

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
installer/data/mysql/atomicupdate/bug_21891-remove-non-xslt-detail.perl [new file with mode: 0644]