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

            Bug ID: 24109
           Summary: Elasticsearch - Advanced search limit by shelving
                    location uses AND instead of OR
 Change sponsored?: ---
           Product: Koha
           Version: 19.05
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Searching - Elasticsearch
          Assignee: [email protected]
          Reporter: [email protected]

When performing an advanced catalog search, the limits for item type and
collection are formed into a query string with OR, while the limits for
shelving location are formed into the query string with AND. This prevents
searching multiple locations at once and is also confusing since the behavior
is different from the other limit tabs and is accompanied by the same
instruction, "Limit to any of the following."

Steps to replicate:
1. In the advanced catalog search, select two limits on the item types tab. 
Perform search. Note the search query was constructed with OR.
2. Return to the advanced catalog search and clear fields. Select two limits on
the shelving location tab. Perform search. Note the search query was
constructed with AND.
3. Return to the advanced catalog search and clear fields. Select two limits on
the collections tab. Perform search. Note the search query was constructed with
OR.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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