DBRev Bug 12803 - Add ability to skip closed libraries when generating
the holds queue
This commit is contained in:
parent
c0d7030b02
commit
209531eae9
3 changed files with 12 additions and 4 deletions
2
Koha.pm
2
Koha.pm
|
@ -29,7 +29,7 @@ use vars qw{ $VERSION };
|
|||
# - #4 : the developer version. The 4th number is the database subversion.
|
||||
# used by developers when the database changes. updatedatabase take care of the changes itself
|
||||
# and is automatically called by Auth.pm when needed.
|
||||
$VERSION = "3.23.00.035";
|
||||
$VERSION = "3.23.00.036";
|
||||
|
||||
sub version {
|
||||
return $VERSION;
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
INSERT INTO systempreferences (variable,value,explanation,type) VALUES
|
||||
('HoldsQueueSkipClosed', '0', 'If enabled, any libraries that are closed when the holds queue is built will be ignored for the purpose of filling holds.', 'YesNo');
|
|
@ -11959,7 +11959,17 @@ if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
|
|||
$dbh->do(q{
|
||||
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES ('HTML5MediaYouTube',0,'Embed|Don\'t embed','YouTube links as videos','YesNo');
|
||||
});
|
||||
print "Upgrade to $DBversion done (Bug 11023: Adds field 'new' in items and deleteditems tabl es)\n";
|
||||
print "Upgrade to $DBversion done (Bug 14168 - enhance streaming cataloging to include youtube)\n";
|
||||
|
||||
SetVersion($DBversion);
|
||||
}
|
||||
|
||||
$DBversion = "3.23.00.036";
|
||||
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
|
||||
$dbh->do(q{
|
||||
INSERT INTO systempreferences (variable,value,explanation,type) VALUES ('HoldsQueueSkipClosed', '0', 'If enabled, any libraries that are closed when the holds queue is built will be ignored for the purpose of filling holds.', 'YesNo');
|
||||
});
|
||||
print "Upgrade to $DBversion done (Bug 12803 - Add ability to skip closed libraries when generating the holds queue)\n";
|
||||
SetVersion($DBversion);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue