Bug 36396: DBRev 23.12.00.049
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
98a1f17501
commit
79d3020594
2
Koha.pm
2
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.048";
|
||||
$VERSION = "23.12.00.049";
|
||||
|
||||
sub version {
|
||||
return $VERSION;
|
||||
|
|
|
|||
|
|
@ -2,17 +2,20 @@ use Modern::Perl;
|
|||
|
||||
return {
|
||||
bug_number => "36396",
|
||||
description => "Link elastic facets with authorized value categories",
|
||||
description => "Link Elasticsearch facets with authorized value categories",
|
||||
up => sub {
|
||||
my ($args) = @_;
|
||||
my ( $dbh, $out ) = @$args{qw(dbh out)};
|
||||
|
||||
$dbh->do(
|
||||
q{
|
||||
unless ( column_exists( 'search_field', 'authorised_value_category' ) ) {
|
||||
$dbh->do(
|
||||
q{
|
||||
ALTER TABLE search_field
|
||||
ADD COLUMN `authorised_value_category` varchar(32) DEFAULT NULL
|
||||
AFTER mandatory
|
||||
}
|
||||
);
|
||||
);
|
||||
}
|
||||
say $out "Added Elasticsearch facets with authorized value categories";
|
||||
},
|
||||
};
|
||||
Loading…
Reference in New Issue