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

ChloĆ© Zermatten <[email protected]> changed:

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

--- Comment #249 from ChloĆ© Zermatten <[email protected]> ---
Created attachment 192880
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=192880&action=edit
Bug 10190: Update has_restricting_overdues to refer to circulation rules

This patch updates the Koha::Patron->has_restriction_overdues method to
refer to the migrated overdue rules.

We also correct an oversight in the method prior to this patch that
meant that not all overdues were being correctly checked for a
restriction.. we were incorrectly filtering to only overdues at the
current checkin branch.

Finally, we also take account of the itemtype level addition here too.

NOTE: There weren't any unit tests for this Koha::Patron method.. we
should add some here!

Sponsored-by: Glasgow Colleges Library Group
<https://library.cityofglasgowcollege.ac.uk>
Signed-off-by: George Harkins <[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