[Koha-bugs] [Bug 26508] New: "sn:" shortcut to search by biblionumber is too broad

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 22 16:06:42 CEST 2020


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

            Bug ID: 26508
           Summary: "sn:" shortcut to search by biblionumber is too broad
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Searching - Elasticsearch
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: andrew at bywatersolutions.com

Searching for "sn:1" seems to be returning every bib with a 1 in its bib
number. "sn:100" only returns bib 100.

Turned on DumpSearchQueryTemplate and pulled this from the source when
searching "sn:1":
'query' => '(local-number:1*)',
        'default_operator' => 'AND',
        'lenient' =>
$VAR1->{'search_query'}{'query'}{'query_string'}{'analyze_wildcard'}
      }
    },

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


More information about the Koha-bugs mailing list