[Koha-bugs] [Bug 19197] Lower case "or" results in broken ElasticSearch queries

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 5 15:19:44 CEST 2019


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

Nick Clemens <nick at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #80688|0                           |1
        is obsolete|                            |

--- Comment #7 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 92607
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=92607&action=edit
Bug 19197: Fix multibranch limits in ElasticSearch

Two issues here:
1 - OR must be capitalized
2 - The 'branch' is not analyzed and turned into 'homebranch' correctly. If we
specify 'homebranch' we can later build in a 'holdingbranch' search too

To test:
 1 - Go to Administration -> Library Groups
 2 - Create a search group for staff and opac
 3 - Add two libraries
 4 - Perform an advanced search, limit to the group you just created
 5 - Note the number of results
 6 - Switch SearchEngine syspref to 'Elasticsearch'
 7 - Repeat search, note it fails
 8 - Apply patch
 9 - Restart all the things
10 - Repeat the search
11 - Success! Number of results should match previous search
12 - Switch SearchEngine to 'Zebra'
13 - Repeat search
14 - Success! Search works and number of results matches

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


More information about the Koha-bugs mailing list