https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32357
Bug ID: 32357
Summary: Set borrower_message_preferences.days_in_advance
default to NULL
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Database
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
days_in_advance currently defaults to 0, but it should default to NULL because
all but one entry in message_attribute has takes_days=1 making it the exception
and not the default.
Current column default 0 is already ignored by
C4::Members::Messaging::SetMessagingPreference, see
https://github.com/Koha-Community/Koha/blob/8c367775470fcecdda54e28270b05d92834cd33f/C4/Members/Messaging.pm#L134
, so we should also make NULL default at database level instead.
Blocking Bug 18595 (because without this change some tests there will fail
unless we replicate the misuse of default values)
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/