View Shelf Expired Holds doesn't work correctly unless all holds load first.

Bug #1047519 reported by Steve Callender
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Won't Fix
Medium
Unassigned

Bug Description

Tested in 2.2.0, when accessing the browse hold shelf from Circulation > Browse Hold Shelf, if there are a considerable amount of holds to load (more than 1 page worth), if checkmark "View Shelf-Expired Holds" before all the holds finish loading, the system will just continue to display all holds rather than just the expired ones.

It looks like the code in question is in Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm under the fetch_captured_holds method.

It looks like both API's (captured and expired) use the same method, fetch_captured_holds, and in the middle of the method it checks to see if it was the expired API that was used to adjust it's database query accordingly. Unless the capture method seems to run it's full course first, it doesn't work when switching to the expired API too quickly.

Tags: holds
Revision history for this message
Ben Shum (bshum) wrote :

I've seen this occur as well. Marking confirmed and assigning targets.

Changed in evergreen:
status: New → Confirmed
importance: Undecided → Medium
Ben Shum (bshum)
Changed in evergreen:
milestone: none → 2.4.0-alpha
Ben Shum (bshum)
Changed in evergreen:
milestone: 2.4.0-alpha1 → 2.4.0-beta
Ben Shum (bshum)
Changed in evergreen:
milestone: 2.4.0-beta → 2.4.0-rc
Ben Shum (bshum)
Changed in evergreen:
milestone: 2.4.0-rc → none
Ben Shum (bshum)
no longer affects: evergreen/2.2
Revision history for this message
Chris Sharp (chrissharp123) wrote :

I'm not seeing this in 2.9. There is no longer a "View Shelf-Expired Holds" checkbox, but I'm assuming "View Clearable Holds" is the same function and when I check that box as the full results are loading, the screen clears and I get the clearable holds. If this is still happening, please provide details.

no longer affects: evergreen/2.3
no longer affects: evergreen/2.4
Changed in evergreen:
status: Confirmed → Incomplete
tags: added: holds
Revision history for this message
Andrea Neiman (aneiman) wrote :

Refers to XUL client

Changed in evergreen:
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.