[Koha-bugs] [Bug 10271] New: An index containing ns or nb does not work
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri May 17 14:02:58 CEST 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10271
Bug ID: 10271
Summary: An index containing ns or nb does not work
Classification: Unclassified
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P5 - low
Component: Searching
Assignee: gmcharlt at gmail.com
Reporter: fridolyn.somers at biblibre.com
When an index does not contain a structure part, the structure "wrdl" is
automatically added and a structure is mandatory to build search query (to
convert ':' into '=').
But the code that tests that the structure is not already defined looks in
entire index string :
$index =~ /(st-|phr|ext|wrdl|nb|ns)/
It should look for a comma followed by a structure and in the case of "nb" and
"ns" look for an exact match.
The consequence is that an index containing ns or nb or phr or etc does not
work.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list