Bug 32707: DBRev 23.12.00.017

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Katrin Fischer 2024-04-05 15:31:24 +00:00
parent 3af36faf3e
commit c57e25a408
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
2 changed files with 3 additions and 2 deletions

View File

@ -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;

View File

@ -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'";
},
};