DBRev Bug 12803 - Add ability to skip closed libraries when generating
authorBrendan A Gallagher <brendan@bywatersolutions.com>
Thu, 3 Mar 2016 20:27:04 +0000 (20:27 +0000)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Thu, 3 Mar 2016 20:27:04 +0000 (20:27 +0000)
the holds queue

Koha.pm
installer/data/mysql/atomicupdate/bug_12803.sql [deleted file]
installer/data/mysql/updatedatabase.pl

diff --git a/Koha.pm b/Koha.pm
index da015c3..97856b8 100644 (file)
--- a/Koha.pm
+++ b/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;
diff --git a/installer/data/mysql/atomicupdate/bug_12803.sql b/installer/data/mysql/atomicupdate/bug_12803.sql
deleted file mode 100644 (file)
index b6c7e39..0000000
+++ /dev/null
@@ -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');
index 18eea53..76e5791 100755 (executable)
@@ -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);
     }