From 5b66a82afe6d0b743d8223337d47de00e3ad8244 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.11.05.004 Signed-off-by: Katrin Fischer (cherry picked from commit c57e25a4086adf71df8fd3b437d9fa07e34fa4c2) Signed-off-by: Fridolin Somers --- Koha.pm | 2 +- .../mysql/{atomicupdate/bug_32707.pl => db_revs/231105004.pl} | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) rename installer/data/mysql/{atomicupdate/bug_32707.pl => db_revs/231105004.pl} (84%) diff --git a/Koha.pm b/Koha.pm index bd9cce2bcd..a8bf912b66 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.11.05.003"; +$VERSION = "23.11.05.004"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_32707.pl b/installer/data/mysql/db_revs/231105004.pl similarity index 84% rename from installer/data/mysql/atomicupdate/bug_32707.pl rename to installer/data/mysql/db_revs/231105004.pl index ca09bc8578..3214e9217e 100755 --- a/installer/data/mysql/atomicupdate/bug_32707.pl +++ b/installer/data/mysql/db_revs/231105004.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.39.5