Bug 35214 - Advanced search subject operators always uses "AND"
Summary: Advanced search subject operators always uses "AND"
Status: RESOLVED DUPLICATE of bug 34857
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: Main
Hardware: All All
: P5 - low major
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-01 14:56 UTC by Christopher Brannon
Modified: 2023-11-01 15:30 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***