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

David Cook <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA

--- Comment #36 from David Cook <[email protected]> ---
"home library and holding library" doesn't work for individual libraries.

It's generating the following PQF:
@attrset Bib-1 @or @and @attr 1=8023 @attr 4=6 @attr 5=1 @attr 2=102
39999000001310 @attr 1=homebranch CPL @attr 1=8012 CPL

The Library Group option generates the following which is correct:
@attrset Bib-1 @and @attr 1=8023 @attr 4=6 @attr 5=1 @attr 2=102 39999000001310
@or @attr 1=homebranch CPL @attr 1=8012 CPL

The key is the parentheses in your query.

For the group you're doing this:
"(%s or %s)"

For the individual you're doing this:
"$homebranchlimit or $holdingbranchlimit"

If you change that last one to the following it should work:
"($homebranchlimit or $holdingbranchlimit)"

-- 
You are receiving this mail because:
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