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

M. de Rooy <[email protected]> changed:

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

--- Comment #33 from M. de Rooy <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to