Bug 19028: Add OpacLocationOnDetail syspref
[koha.git] / installer / data / mysql / atomicupdate / bug_19028_shelving_location_column.perl
1 $DBversion = 'XXX';
2 if( CheckVersion( $DBversion ) ) {
3     $dbh->do(q{
4         UPDATE systempreferences
5         SET
6             variable='OpacLocationOnDetail',
7             options='holding|home|both|column',
8             explanation='In the OPAC detail, display the shelving location on its own column or under a library columns.'
9         WHERE
10             variable='OpacLocationBranchToDisplayShelving'
11     });
12
13     SetVersion( $DBversion );
14     print "Upgrade to $DBversion done (Bug 19028: Add 'shelving location' to holdings table in detail page)\n";
15 }