Bug 26302: (QA follow-up) Reset preference values
Mimic current behavior. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
ddce55a2aa
commit
174554bb4d
2 changed files with 4 additions and 4 deletions
|
@ -2,8 +2,8 @@ $DBversion = 'XXX'; # will be replaced by the RM
|
|||
if( CheckVersion( $DBversion ) ) {
|
||||
$dbh->do(q|
|
||||
INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) VALUES
|
||||
('resultsMaxItems','2','','Maximum number of available items displayed in search results','Integer'),
|
||||
('resultsMaxItemsUnavailable','1','','Maximum number of unavailable items displayed in search results','Integer')
|
||||
('resultsMaxItems','1','','Maximum number of available items displayed in search results','Integer'),
|
||||
('resultsMaxItemsUnavailable','0','','Maximum number of unavailable items displayed in search results','Integer')
|
||||
|);
|
||||
NewVersion( $DBversion, 26302, "Add preferences resultsMaxItems and resultsMaxItemsUnavailable");
|
||||
}
|
||||
|
|
|
@ -574,8 +574,8 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `
|
|||
('RestrictedPageContent','',NULL,'HTML content of the restricted page','TextArea'),
|
||||
('RestrictedPageTitle','',NULL,'Title of the restricted page (breadcrumb and header)','Free'),
|
||||
('RestrictionBlockRenewing','0',NULL,'If patron is restricted, should renewal be allowed or blocked','YesNo'),
|
||||
('resultsMaxItems','2','','Maximum number of available items displayed in search results','Integer'),
|
||||
('resultsMaxItemsUnavailable','1','','Maximum number of unavailable items displayed in search results','Integer'),
|
||||
('resultsMaxItems','1','','Maximum number of available items displayed in search results','Integer'),
|
||||
('resultsMaxItemsUnavailable','0','','Maximum number of unavailable items displayed in search results','Integer'),
|
||||
('ReturnBeforeExpiry','0',NULL,'If ON, checkout will be prevented if returndate is after patron card expiry','YesNo'),
|
||||
('ReturnLog','1',NULL,'If ON, enables the circulation (returns) log','YesNo'),
|
||||
('ReturnpathDefault','',NULL,'Use this email address as return path or bounce address for undeliverable emails','Free'),
|
||||
|
|
Loading…
Reference in a new issue