[Koha-bugs] [Bug 8918] ILS-DI: HoldTitle and HoldItem do not calculate rank of hold

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 5 16:27:13 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8918

Julian Maurice <julian.maurice at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #21328|0                           |1
        is obsolete|                            |
  Attachment #21329|0                           |1
        is obsolete|                            |
  Attachment #21330|0                           |1
        is obsolete|                            |

--- Comment #31 from Julian Maurice <julian.maurice at biblibre.com> ---
Created attachment 22731
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=22731&action=edit
Bug 8918: Calculate hold priority in AddReserve

Priority was calculated outside of this sub, in separate places.
Priority was not calculated when using ILS-DI.

This patch factorize code by putting the priority calculation code into
AddReserve.

Test plan:
1/ Place multiple holds in staff interface and check the priority is
   incremented for each hold.
2/ Do the same in OPAC.
3/ Place multiple holds using ILS-DI HoldTitle service:
  
/cgi-bin/koha/ilsdi.pl?service=HoldTitle&patron_id=BORROWERNUMBER&bib_id=BIBLIONUMBER
   and check the priority is incremented for each hold.
4/ Do the same using HoldItem service:
  
/cgi-bin/koha/ilsdi.pl?service=HoldItem&patron_id=BORROWERNUMBER&bib_id=BIBLIONUMBER&item_id=ITEMNUMBER

Note: this is a squashed version of 3 previous patches

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


More information about the Koha-bugs mailing list