Change dueDate to 2020-08-14 for open loans where dueDate < 2020-08-14

Description

The task

Make sure no patrons have to return their loaned items until 2020-08-14. This includes loans that have already expired, loans expiring between now and 2020-08-14, loans without recalls and loans with recalls.

Suggested method

From /circulation/loans, get all loans that have status Open and a due date prior to 2020-08-14.

/circulation/loans?query=(status.name="Open" AND dueDate < "2020-08-14*")&limit=0

For these records, change the value of the dueDate element to:

"dueDate": "2020-08-14T22:59:59.000+0000",

PUT updated records to /circulation/loans.

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Lisa Sjögren May 5, 2020 at 2:43 PM

Setting this to Done. Thanks !

Done

Details

Assignee

Reporter

Priority

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created April 27, 2020 at 8:23 AM
Updated May 5, 2020 at 7:08 PM
Resolved May 5, 2020 at 2:44 PM
TestRail: Cases
TestRail: Runs

Flag notifications