Summary: | Default value in issues.renewals should be '0' not null | ||
---|---|---|---|
Product: | Koha | Reporter: | Josef Moravec <josef.moravec> |
Component: | Architecture, internals, and plumbing | Assignee: | Josef Moravec <josef.moravec> |
Status: | CLOSED FIXED | QA Contact: | Martin Renvoize (ashimema) <martin.renvoize> |
Severity: | normal | ||
Priority: | P5 - low | CC: | lucas, martin.renvoize, nick |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
19.05.00, 18.11.05
|
|
Circulation function: | |||
Bug Depends on: | |||
Bug Blocks: | 17003 | ||
Attachments: |
Bug 22607: Change default value in issues.renewals to '0'.
Bug 22607: Change default value in issues.renewals to '0'. |
Description
Josef Moravec
2019-03-29 07:51:40 UTC
Created attachment 87154 [details] [review] Bug 22607: Change default value in issues.renewals to '0'. This patch change renewals column of issues and old_issues tables. Now it is NOT NULL default 0. It does not make sense when number of renewals is undefined, it is always integer with value zero or more Created attachment 87208 [details] [review] Bug 22607: Change default value in issues.renewals to '0'. This patch change renewals column of issues and old_issues tables. Now it is NOT NULL default 0. It does not make sense when number of renewals is undefined, it is always integer with value zero or more Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Going straight for PQA on this one.. it's tiny and makes complete sense. Works well, no test failures, no regressions I can see and qa scripts all pass.. Passing QA Awesome work all! Pushed to master for 19.05 Pushed to 18.11.x for 18.11.05 backported to 18.05.x for 18.05.12 |