[Koha-bugs] [Bug 22426] Elasticsearch - Index location is missing in advanced search
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jun 17 16:12:48 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22426
--- Comment #6 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
I see that there is a removal of "mc-" before index to field convertion :
Added by commit :
Bug 12478: fix multi-choice stuff in advanced search
In Koha/SearchEngine/Elasticsearch/QueryBuilder.pm :
my $mc = '';
if ($f =~ /^mc-/) {
$mc = 'mc-';
$f =~ s/^mc-//;
}
And in %index_field_convert there is :
'mc-loc' => 'location'
So I think adding loc => location should fix the problem.
That is why there is no problem with mc-ccode and mc-itemtype.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list