Due Date Calculated From Now in Checkout and Renew unless Due Date passed as argument
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Medium
|
Unassigned |
Bug Description
EG Version: Master (and probably all prior)
OpenSRF Version: N/A
PostgreSQL Version: N/A
I am presently running a script to create circulations from a CSV file as part of a new member's migration from their old ILS to Evergreen. I create the circulations with arguments like the following:
$args = {
'barcode' => '37003700608350'
};
I have already created circ_matrix_
$circ = bless( [
'1 day',
2,
'1 day',
1
], 'Fieldmapper:
This shows the due date is being set from the time that the transaction is actually created and not from the checkout_time. I was expecting the due date to be calculated from the checkout time if provided.
In some cases, I have a due date to provide. However, the file I am given has a renewal and checkout in a single line and only 1 due date is provided. I am also concerned that in some cases the due dates in the original file may not correspond to the rules indicated in the circ_matrix_
In short, I'd like for the due date to be calculated from the checkout time and not from now, if a checkout time is provided.
A branch will likely follow in a day or two.
Changed in evergreen: | |
milestone: | 2.6.0-rc1 → 2.next |
Changed in evergreen: | |
assignee: | nobody → Dan Wells (dbw2) |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
Branch still needs testing.
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/collab/ dyrcona/ lp1222240- due-date- from-xact_ start