From c57e25a4086adf71df8fd3b437d9fa07e34fa4c2 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Fri, 5 Apr 2024 15:31:24 +0000 Subject: [PATCH] Bug 32707: DBRev 23.12.00.017 Signed-off-by: Katrin Fischer --- Koha.pm | 2 +- .../mysql/{atomicupdate/bug_32707.pl => db_revs/231200017.pl} | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) rename installer/data/mysql/{atomicupdate/bug_32707.pl => db_revs/231200017.pl} (84%) diff --git a/Koha.pm b/Koha.pm index 3a7031b49e..994b4acf32 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 = "23.12.00.016"; +$VERSION = "23.12.00.017"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_32707.pl b/installer/data/mysql/db_revs/231200017.pl similarity index 84% rename from installer/data/mysql/atomicupdate/bug_32707.pl rename to installer/data/mysql/db_revs/231200017.pl index ca09bc8578..3214e9217e 100755 --- a/installer/data/mysql/atomicupdate/bug_32707.pl +++ b/installer/data/mysql/db_revs/231200017.pl @@ -2,7 +2,7 @@ use Modern::Perl; return { bug_number => "32707", - description => "Add `ESPreventAutoTruncate` preference", + description => "Add 'ESPreventAutoTruncate' system preference", up => sub { my ($args) = @_; my ( $dbh, $out ) = @$args{qw(dbh out)}; @@ -12,5 +12,6 @@ return { VALUES ('ESPreventAutoTruncate', 'barcode|control-number|control-number-identifier|date-of-acquisition|date-of-publication|date-time-last-modified|identifier-standard|isbn|issn|itype|lc-card-number|number-local-acquisition|other-control-number|record-control-number', NULL, 'List of searchfields (separated by | or ,) that should not be autotruncated by Elasticsearch even if QueryAutoTruncate is set to Yes', 'Free') } ); + say $out "Added new system preference 'ESPreventAutoTruncate'"; }, }; -- 2.20.1