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

            Bug ID: 43301
           Summary: Koha::Patron->libraries_where_can_see_things() returns
                    incorrect results
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
  Target Milestone: ---

If you create a number of overdues and then go to /cgi-bin/koha/circ/overdue.pl
with a user account that doesn't have borrowers >
view_borrower_infos_from_any_libraries permission, you will see overdues for
all libraries, but you can only filter "Library of the patron" from your own
library.

This is because "Koha::Patron->libraries_where_can_see_things" returns only the
user's branchcode if there are no library groups defined, which... makes no
sense. If there are no library groups, then all library branches should be
returned. 

It gets worse... if there is at least 1 library group defined, the patrons from
any other branch but your own will have their information hidden (eg A patron
from library) even if that library group has no libraries in it!

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to