[Koha-bugs] [Bug 18341] New: NO-BREAK SPACE is not counted as white space in search queries.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 27 22:27:06 CEST 2017


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

            Bug ID: 18341
           Summary: NO-BREAK SPACE is not counted as white space in search
                    queries.
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Searching
          Assignee: gmcharlt at gmail.com
          Reporter: barton at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

Created attachment 61648
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=61648&action=edit
CSV file containing titles separated by NO-BREAK SPACE

I've transcribed this from a ticket that one of our partners submitted. 

A librarian noted that she had an Excel spreadsheet of titles she was copying
and pasting into Koha to search, and occasionally one of the titles wouldn't
come up even though they have the book. ( CSV file containing titles is
attached.)  She noted if she just typed the title into Koha, it came up w/o a
problem.
Here's a screenshot of one of the failed searches.

Notice the %C2%A0  between the words. That's the UTF-8 code for non-breaking
space (see http://www.fileformat.info/info/unicode/char/00a0/index.htm).

--

The underlying issue here is that when we paste in a search term containing the
unicode NO-BREAK SPACE glyph, this arguably should be treated as white space,
and the search should succeed if it matches strings with words separated by
other whitespace characters.

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


More information about the Koha-bugs mailing list