In Bugfest Lotus I get the Request detail page, and then after 30 sec. I get an error message saying: Something went wrong. This happens because mod-circulation fetches requests by closed date one by one instead of doing batch requests.
Steps to Reproduce:
- Make a call to GET /request-storage/requests query=itemId%3D%3D%225ce8db80-2185-44e5-96d4-45e303d72806%22%20and%20status%3D%3D%28%22Closed%20-%20Pickup%20expired%22%20or%20%22Closed%20-%20Cancelled%22%29%20and%20awaitingPickupRequestClosedDate%3E%22%22%20sortBy%20awaitingPickupRequestClosedDate%2Fsort.descending&limit=1
Failed to fetch error
Fetch Requests Sorted By Closed Date in batch during Hold Shelf Clearance Report