]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1792429: calculate queue position in correct order
authorGalen Charlton <gmc@equinoxinitiative.org>
Thu, 13 Sep 2018 18:25:05 +0000 (14:25 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 13 Sep 2018 21:45:41 +0000 (17:45 -0400)
commit65f5afc47e9ed0d3006eeba963c6c7057479cdae
tree366d7b5ce41e3d56be26041aba1eae0b9f3b0cd6
parentf594e2854a172ad61a5a27eaf3804d42a4a07020
LP#1792429: calculate queue position in correct order

This patch ensures that the relative hold queue position
displayed in the webstaff Hold Shelf and Record -> View Holds
interfaces is calculated in the correct order, i.e., (cut-in-line aside)
with holds requested earlier having a lower queue position than
holds requested later.

To test
-------
[1] Set up a bib with a number of hold requests.
[2] Under Record -> Viwe Holds, note that the queue
    positions are reversed, with later holds having lower
    queue positions.
[3] Apply the patch and repeat step #2. This time, the queue
    positions should be correct.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm