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

Emily Lamancusa <[email protected]> changed:

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

--- Comment #13 from Emily Lamancusa <[email protected]> 
---
Created attachment 169559
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=169559&action=edit
Bug 34147: Load all categories for displaying patron results

Currently we are only loading unlimited categories into the patron search, so
when we return
patrons from a category limited to another library we crash because we don't
have the descriptions
loaded.

This patch removes the limit from 'categories_map' which is only used for
displaying patrons. As patron
visibility is a feature of permissions and groups, I don't think we should
enforce if based on category
limitations.

NOTE: the categories for searching are still limited in the left hand filters -
but not in the dropdown if you click the options button in the top search form.
This is beyond the scope of this bug.

To test:
1. Make sure you are logged in as Centerville
2. Do a patron search for 'Ac' -- there are two patrons: Henry (Staff) and Edna
(Patron)
2. Go to Administration > Patron Categories
3. Edit the Patron (PT) category, set the Library limitations to Fairfield only
4. Do the patron search for 'Ac' again - it hangs up with a Processing box
5. Apply patch
6. Reload the page (clear cache) and confirm the results now load

Signed-off-by: Jason Robb <[email protected]>
Signed-off-by: Emily Lamancusa <[email protected]>

-- 
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