[Koha-bugs] [Bug 21284] ILS-DI: Allow GetPatronInfo to tell if a loaned item is on hold by someone else.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 1 16:18:16 CEST 2020


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

Fridolin SOMERS <fridolin.somers at biblibre.com> changed:

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

--- Comment #10 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
Created attachment 109439
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=109439&action=edit
Bug 21284: ILS-DI: Allow GetPatronInfo to tell if a loaned item is on hold by
someone else.

This patch adds two entries in the loans section of GetPatronInfo's response:

 - itemonhold: number of holds on this specific item.
 - recordonhold: number of holds on the record.

Test plan:

 - Call GetPatronInfo on a user with a loan that has no holds
 - Check that itemonhold and recordonhold entries are equal to zero

 - Add holds on biblio and/or item level
 - Check that itemonhold and recordonhold are incremented accordingly

Please note that a hold on item level counts as a hold on record level, but not
vice-versa.

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


More information about the Koha-bugs mailing list