[Koha-bugs] [Bug 27945] Limit the number of active article requests per patron category

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 9 09:45:10 CEST 2021


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

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #124284|0                           |1
        is obsolete|                            |

--- Comment #60 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 124680
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=124680&action=edit
Bug 27945: (QA follow-up) Fix limit check

Resolve:
    [WARN] SQL::Abstract::belch(): [SQL::Abstract::_where_field_op_ARRAYREF]
Warning: A multi-element arrayref as an argument to the inequality op '!=' is
technically equivalent to an always-true 1=1 (you probably wanted to say ...{
$inequality_op => [ -and => @values ] }... instead) at
/usr/share/koha/Koha/Objects.pm line 601

In this case we can simply count the statuses PENDING and PROCESSING.
Note that bug 27944 will change that; PENDING should be replaced by
REQUESTED there.

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list