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: gmcha...@gmail.com
          Reporter: fridolyn.som...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to