[Koha-bugs] [Bug 20151] New: Search is broken when stemming has no language

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 7 15:06:24 CET 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20151

            Bug ID: 20151
           Summary: Search is broken when stemming has no language
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Searching
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: fridolin.somers at biblibre.com
        QA Contact: testopia at bugs.koha-community.org

When stemming is enable in catalog searching,
C4::Search::_build_stemmed_operand will transform operand into stemmed operand
using stemmer Lingua::Stem::Snowball with a specified language.
This stemmer returns undef is no language is defined.

In classic catalog search, current language is used.
But in other pages acqui/neworderbiblio.pl and cataloguing/addbooks.pl no
language is defined so operand is empty.
Any search returns entire catalog.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list