Bug 19038: Remove the OPACShowBarcode syspref
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 4 Aug 2017 21:38:58 +0000 (18:38 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 25 Oct 2017 19:12:46 +0000 (16:12 -0300)
commite711c8e41847ab57ef84660047535ff44f747f97
treea58f6d41ed7aeb146a9ea2892bb6343d5fe660d9
parent667c07e0480825da10fa9dba4ae9e9625be51d99
Bug 19038: Remove the OPACShowBarcode syspref

This patch removes the OPACShowBarcode syspref in favour of the new
columns settings option introduced by bug 16759.

On the upgrade step, it picks the value for OPACShowBarcode and uses it
to populate the columns_settings table.

To test:
- Verify the upgrade process maintains the current behaviour

Regards

Sponsored-by: Dover

Followed test plan and works as expected. Functionality of patch from bug 16759
appears intact too.
Signed-off-by: Dilan Johnpullé <dilan@calyx.net.au>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/UsageStats.pm
installer/data/mysql/atomicupdate/bug_19038_remove_opacshowbarcode_syspref.perl [new file with mode: 0644]
installer/data/mysql/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt
opac/opac-detail.pl
t/db_dependent/UsageStats.t