Bug 30880: DBRev 22.06.00.080
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 8 Nov 2022 13:02:22 +0000 (10:02 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 8 Nov 2022 13:02:22 +0000 (10:02 -0300)
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha.pm
installer/data/mysql/atomicupdate/bug_30880_-_add_option_OPACResultsUnavailableGroupingBy_syspref.pl [deleted file]
installer/data/mysql/db_revs/220600080.pl [new file with mode: 0755]

diff --git a/Koha.pm b/Koha.pm
index 9945988..a2267c6 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 = "22.06.00.079";
+$VERSION = "22.06.00.080";
 
 sub version {
     return $VERSION;
diff --git a/installer/data/mysql/atomicupdate/bug_30880_-_add_option_OPACResultsUnavailableGroupingBy_syspref.pl b/installer/data/mysql/atomicupdate/bug_30880_-_add_option_OPACResultsUnavailableGroupingBy_syspref.pl
deleted file mode 100755 (executable)
index 2d79b90..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-use Modern::Perl;
-
-return {
-    bug_number => "30880",
-    description => "Add branchonly option to OPACResultsUnavailableGroupingBy syspref",
-    up => sub {
-        my ($args) = @_;
-        my ($dbh, $out) = @$args{qw(dbh out)};
-
-        $dbh->do(q{ UPDATE systempreferences SET options = 'branch|substatus|branchonly', explanation = 'Group OPAC XSLT results by branch and substatus, or substatus only, or branch only' WHERE variable = 'OPACResultsUnavailableGroupingBy' });
-    },
-};
diff --git a/installer/data/mysql/db_revs/220600080.pl b/installer/data/mysql/db_revs/220600080.pl
new file mode 100755 (executable)
index 0000000..2d79b90
--- /dev/null
@@ -0,0 +1,12 @@
+use Modern::Perl;
+
+return {
+    bug_number => "30880",
+    description => "Add branchonly option to OPACResultsUnavailableGroupingBy syspref",
+    up => sub {
+        my ($args) = @_;
+        my ($dbh, $out) = @$args{qw(dbh out)};
+
+        $dbh->do(q{ UPDATE systempreferences SET options = 'branch|substatus|branchonly', explanation = 'Group OPAC XSLT results by branch and substatus, or substatus only, or branch only' WHERE variable = 'OPACResultsUnavailableGroupingBy' });
+    },
+};