Koha/koha-tmpl/intranet-tmpl/prog/en/modules/circ
Kyle M Hall 82d1fe4086 Bug 8559 - conflicting item statuses - Force cancel or revert
If a librarian checks out a waiting hold to a different patron
it gives the item conflicting statuses. The item will show as both
checked out to the different patron, and waiting for the original
patron.

This patch fixes this by not allowing this situation to occurr. If
a librarian attempts to issue an item that is waiting for a different
patron, the system will force the librarian to choose to
a) not issue the item
b) issue the item, and cancel the waiting hold
c) issue the item, and revert the waiting hold

In this scenario, reverting the waiting hold means to push it back
on the reserves queue as a hold with a priority of 1, which will push
the priorities of any existing holds back by 1 as well. It will become
an item level hold for the given item, as we cannot know if the hold
was item-level or bib-level given the data we have about the hold.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

All three cases tested, correct outcome each time

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
2012-11-28 17:09:32 -05:00
..
bookcount.tt Bug 2780 - Capitalize strings consistently (Circulation) 2012-04-10 10:03:30 +02:00
branchoverdues.tt Bug 7760 - Add ids and classes to every staff page to help with customizaton (circulation) 2012-03-22 18:12:27 +01:00
branchtransfers.tt Bug 2780 - Capitalize strings consistently (Circulation) 2012-04-10 10:03:30 +02:00
circulation-home.tt Bug 7828 - On circulation home page, URL to offline circulation Firefox addon should be a hyperlink 2012-04-19 11:22:11 +02:00
circulation.tt Bug 8559 - conflicting item statuses - Force cancel or revert 2012-11-28 17:09:32 -05:00
overdue.tt Bug 8181 [REVISED] Replace DynArch calendar widget with jQueryUI version 2012-06-25 18:26:26 +02:00
pendingreserves.tt Bug 8585 follow-up Passing syspref to template 2012-10-03 15:28:43 +02:00
printslip.tt Bug 7563 - Silent print slips using Firefox PlugIn jsPrintSetup and new staff client preference 2012-07-06 18:23:39 +02:00
reserveratios.tt Bug 8181 [REVISED] Replace DynArch calendar widget with jQueryUI version 2012-06-25 18:26:26 +02:00
returns.tt Bug 8758: Remove useless code in circ/returns.pl 2012-11-05 12:12:58 -05:00
selectbranchprinter.tt Bug 2780 - Capitalize strings consistently (Circulation) 2012-04-10 10:03:30 +02:00
stats.tt Bug 7760 - Add ids and classes to every staff page to help with customizaton (circulation) 2012-03-22 18:12:27 +01:00
transfer-slip.tt Bug 2780 - Capitalize strings consistently (Circulation) 2012-04-10 10:03:30 +02:00
transferstoreceive.tt Bug 8234: fixes date sort on 'Transfers to receive' page 2012-10-25 17:31:11 +02:00
view_holdsqueue.tt Bug 8971 - Sort holds queue report using DataTables 2012-11-20 08:10:51 -05:00
waitingreserves.tt Bug 8449 - Improve wording and styling for "cancelled holds" on Holds Awaiting Pickup screen 2012-10-05 10:44:51 +02:00