[Koha-bugs] [Bug 32684] Implement SIP patron status field "too many items lost"

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 19 20:02:43 CET 2023


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

Kyle M Hall <kyle at bywatersolutions.com> changed:

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

--- Comment #4 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 145494
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=145494&action=edit
Bug 32684: Implement SIP patron status field "too many items lost"

The SIP patron status and information responses always return false foe "too
many items lost". It would be reasonable to check the count of lost items still
checked out to the patron and compare that to a threshold set in the sip config
file. Though not all libraries operate in this way, it seems like a good and
reasonable implementation as long is it is properly documented.

This patch adds the ability to set the SIP "too many items lost" flag
for a patron based on the number of lost checkouts the patron has where
the lost flag on those items is greater than the given flag value.

For example, one could specify that the flag be set if the patron has
more than 2 items checked out where itemlost is greater than 3.

By default the feature is disabled to retain the existing functionality.
If enabled, the default itemlost minimum flag value is 1 unless
specified.

Test Plan:
1) Apply this patch
2) prove t/db_dependent/SIP/Message.t

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


More information about the Koha-bugs mailing list