Bug 21246: Set ShowLastPatronCount to 1 on update

Setting the new preference to 1 will allow us to keep the
current behaviour on update. The library can then actively
decide to increase the number to whatever they prefer.

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Katrin Fischer 2023-07-28 09:14:59 +00:00 committed by Tomas Cohen Arazi
parent 558c801b28
commit fe933e2771
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -10,7 +10,7 @@ return {
$dbh->do(
q{
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
('showLastPatronCount', '10', NULL, 'How many patrons should showLastPatron remember', 'Integer')
('showLastPatronCount', '1', NULL, 'How many patrons should showLastPatron remember', 'Integer')
}
);
say $out "Added new system preference 'showLastPatronCount'";