Bug 35214

Summary: Advanced search subject operators always uses "AND"
Product: Koha Reporter: Christopher Brannon <cbrannon>
Component: OPACAssignee: Owen Leonard <oleonard>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: major    
Priority: P5 - low CC: andrew
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Christopher Brannon 2023-11-01 14:56:15 UTC
The OPAC seems to have a major bug when doing an advanced search on subjects.  If I do an advanced search on two subjects with the AND operator, it works find, but if I do the same search with the OR operator, it runs the search with AND.  This is seen in the URL.

This does not seem to be the case with a keyword search.  OR works just fine.

I can manually change the ANDs to ORs in the URL, and it will do the search as expected.  The problem seems specific to using subjects (at least on both criteria).

The OR operator works just fine on the staff side.  It seems to be isolated to the OPAC only.
Comment 1 Katrin Fischer 2023-11-01 15:30:02 UTC

*** This bug has been marked as a duplicate of bug 34857 ***