[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
Wed Jan 29 15:46:39 CET 2014


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

M. de Rooy <m.de.rooy at rijksmuseum.nl> changed:

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

--- Comment #33 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 24863
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=24863&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

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


More information about the Koha-bugs mailing list