Bug 28684

Summary: Superfluous -or condition in few article request queries
Product: Koha Reporter: Marcel de Rooy <m.de.rooy>
Component: Architecture, internals, and plumbingAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: tomascohen
Version: master   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29082
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29083
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29084
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29086
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Marcel de Rooy 2021-07-08 12:51:47 UTC
-                -or => [
-                    status => Koha::ArticleRequest::Status::Pending,
-                    status => Koha::ArticleRequest::Status::Processing
-                ]
+                Koha::ArticleRequest::Status::Pending,
+                Koha::ArticleRequest::Status::Processing,
Comment 1 Marcel de Rooy 2021-07-08 12:55:00 UTC
Koha/Template/Plugin/Biblio.pm

Koha/Biblio
            -or          => [
                { status => Koha::ArticleRequest::Status::Pending },
                { status => Koha::ArticleRequest::Status::Processing }

Koha/Patron
            -or          => [
                { status => Koha::ArticleRequest::Status::Pending },
                { status => Koha::ArticleRequest::Status::Processing }
            ]
Comment 2 Tomás Cohen Arazi 2021-09-22 19:18:47 UTC
Good catch, solved in the linked bugs.

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