Bug 5021 - serials should handle 'unknown' more gracefully
Summary: serials should handle 'unknown' more gracefully
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Serials (show other bugs)
Version: Main
Hardware: All All
: PATCH-Sent (DO NOT USE) major (vote)
Assignee: Colin Campbell
QA Contact: Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-15 20:39 UTC by Nicole C. Engard
Modified: 2012-10-25 22:53 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
serial prediction for unknown (13.17 KB, image/png)
2010-07-15 20:39 UTC, Nicole C. Engard
Details
Proposed Patch (1.62 KB, patch)
2010-07-16 12:05 UTC, Colin Campbell
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Nicole C. Engard 2010-07-15 20:39:08 UTC
Created attachment 2376 [details]
serial prediction for unknown

with ‘unknown’ for serial prediction the dates for the upcoming issues get all screwy because it doesn’t know what to predict for the next arrival date - see attached
Comment 1 Colin Campbell 2010-07-16 12:05:09 UTC
Created attachment 2379 [details] [review]
Proposed Patch
Comment 2 Colin Campbell 2010-07-16 12:07:01 UTC
code did intend to do the right thing but was not testing correctly. patch corrects that behaviour
Comment 3 Galen Charlton 2010-07-16 12:35:14 UTC
Patch pushed.  Please test and close.