Bug 13716

Summary: On adding recipients/patrons to a routing list, searching fields are filtered in OR instead of AND
Product: Koha Reporter: Paola Rossi <paola.rossi>
Component: SerialsAssignee: Bugs List <koha-bugs>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: colin.campbell
Version: Main   
Hardware: All   
OS: All   
See Also: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7957
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6513
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Paola Rossi 2015-02-17 10:45:37 UTC
In Home › Serials › [serial title] › Edit routing list,

I'm trying to "Add a recipient[/patron/borrower]" to a Rooting List of a subscription.

On /cgi-bin/koha/serials/member-search.pl, the 3 input fields are crossed so:
Library AND Category
Name OR (Library AND Category)
Name OR Library
Name OR Category

On the contrary I'm expecting this way of building the query:
Name AND Library AND Category
Name AND Library
Name AND Category
Comment 1 Paola Rossi 2015-02-17 11:17:10 UTC
See also this comment: bug 6513 #9:

>Jonathan Druart 2014-11-10 10:38:03 UTC:

>Bug 13021 and bug 12648 use the member search webservice.
>When they will be pushed, maybe this one [bug 6513] will be easy to implement >using the same way.
Comment 2 Katrin Fischer 2019-02-10 21:32:15 UTC
I think at some point we fixed it - can't tell when, but it works nicely now and limits using AND.