[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
Wed Jun 5 14:15:41 CEST 2019


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

Matthias Meusburger <matthias.meusburger at biblibre.com> changed:

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

--- Comment #5 from Matthias Meusburger <matthias.meusburger at biblibre.com> ---
Created attachment 90326
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=90326&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