From 5d79030fdf80a353cdff59539bb3ff8829911b8c Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Mon, 29 Apr 2024 20:15:49 +0000 Subject: [PATCH] Bug 15461: Add StaffLocationOnDetail --- installer/data/mysql/atomicupdate/bug_15461.pl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/installer/data/mysql/atomicupdate/bug_15461.pl b/installer/data/mysql/atomicupdate/bug_15461.pl index d7ed32ee0c..12e47efcce 100755 --- a/installer/data/mysql/atomicupdate/bug_15461.pl +++ b/installer/data/mysql/atomicupdate/bug_15461.pl @@ -8,10 +8,12 @@ return { my ( $dbh, $out ) = @$args{qw(dbh out)}; # Do you stuffs here - $dbh->do(q{ + $dbh->do( + q{ INSERT IGNORE INTO systempreferences (`variable`,`value`,`options`,`explanation`,`type`) VALUES ('StaffLocationOnDetail','home','holding|home|both|column','In the staff interface, display the shelving location on its own column or under a library columns.','Choice') - }); + } + ); say $out "Added new system preference 'StaffLocationOnDetail'"; }, -- 2.30.2