Bug 10579 - Days in Advance cannot be set for Advance Notice in messaging prefs
Summary: Days in Advance cannot be set for Advance Notice in messaging prefs
Status: CLOSED WORKSFORME
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: 3.10
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-11 21:06 UTC by Fred P
Modified: 2014-12-07 20:02 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fred P 2013-07-11 21:06:46 UTC
All takes_days fields in the message_attributes table are set to zero, and there is no documented method to reset these. When set to one, the takes_days allows you to set the "Days in Advance"

I cannot find a way to activate this for the "Advance Notice" message type without manually altering the table to reset takes_days from zero to one. A system preference would allow this to be set through the Koha interface.
Comment 1 Katrin Fischer 2013-07-11 21:42:52 UTC
Hi Fred, the value should always be set to 1 after installing Koha and should never be changed. Which version are you looking at? Did you install all the mandatory SQL files when running the web installer? We checked the English files and they are alright.
Comment 2 Fred P 2013-07-12 14:33:58 UTC
Sounds like we might have a legacy data issue, rather than a bug. My apologies. Because other notices, like item due or checkout, cannot possibly be sent in advance, does that "Days in Advance" selector get discarded? I assume it is only useful for the pre-due notice.
Comment 3 Katrin Fischer 2013-07-12 14:53:04 UTC
It's currently only used for predue notices and Koha should set it correctly during installation. If you fix it in the database once now, it should be fine.