diff --git a/Koha.pm b/Koha.pm index eb64e3c5e5..bd14f9194c 100644 --- 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 = "21.12.00.025"; +$VERSION = "21.12.00.026"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug-17018.pl b/installer/data/mysql/atomicupdate/bug-17018.pl deleted file mode 100755 index 58facba735..0000000000 --- a/installer/data/mysql/atomicupdate/bug-17018.pl +++ /dev/null @@ -1,13 +0,0 @@ -use Modern::Perl; - -return { - bug_number => "17018", - description => "Split AdvancedSearchTypes for staff and OPAC", - up => sub { - my ($args) = @_; - my $dbh = $args->{dbh}; - - $dbh->do( "INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) SELECT 'OpacAdvancedSearchTypes', `value`, `options`, 'Select which set of fields are available as limits on the OPAC advanced search page', `type` FROM systempreferences WHERE variable = 'AdvancedSearchTypes'" ); - - }, -} diff --git a/installer/data/mysql/db_revs/211200026.pl b/installer/data/mysql/db_revs/211200026.pl new file mode 100755 index 0000000000..267511f9b9 --- /dev/null +++ b/installer/data/mysql/db_revs/211200026.pl @@ -0,0 +1,13 @@ +use Modern::Perl; + +return { + bug_number => "17018", + description => "Split AdvancedSearchTypes for staff and OPAC", + up => sub { + my ($args) = @_; + my $dbh = $args->{dbh}; + $dbh->do(q{ + INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) SELECT 'OpacAdvancedSearchTypes', `value`, `options`, 'Select which set of fields are available as limits on the OPAC advanced search page', `type` FROM systempreferences WHERE variable = 'AdvancedSearchTypes' + }); + }, +};