Bug 29077: (follow-up) Use another syntax

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Fridolin Somers 2022-04-26 14:59:59 -10:00
parent 8bb51dccb0
commit 05fd2369f0
1 changed files with 1 additions and 1 deletions

View File

@ -714,7 +714,7 @@ sub _convert_index_fields {
my %index_type_convert =
( __default => undef, phr => 'phrase', rtrn => 'right-truncate', 'st-year' => 'st-year' );
@indexes = grep(/.+/, @indexes); # Remove any blank indexes, i.e. keyword
@indexes = grep { $_ ne q{} } @indexes; # Remove any blank indexes, i.e. keyword
# Convert according to our table, drop anything that doesn't convert.
# If a field starts with mc- we save it as it's used (and removed) later