Summary: | Editing a list generates errors in the log | ||
---|---|---|---|
Product: | Koha | Reporter: | Owen Leonard <oleonard> |
Component: | Lists | Assignee: | Owen Leonard <oleonard> |
Status: | CLOSED FIXED | QA Contact: | Ian Walls <koha.sekjal> |
Severity: | minor | ||
Priority: | PATCH-Sent (DO NOT USE) | CC: | chris, paul.poulain |
Version: | 3.6 | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Proposed fix
Bug 7325 - Editing a list generates errors in the log |
Description
Owen Leonard
2011-12-06 21:03:07 UTC
Created attachment 6615 [details] [review] Proposed fix Checking for variables before trying to use them in building the pagination menu. Now it no longer tries to build the pagination bar when editing an list (which makes sense there is nothing to paginate). Created attachment 6735 [details] [review] Bug 7325 - Editing a list generates errors in the log Checking for variables before trying to use them in building the pagination menu Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> QA comment: tiny patch, remove log noise, passed QA patch pushed, please test PS: totitem could also have been quieted by defaulting to 0. That could have been cleaner, but that could also be debated for years, so accepting this one ;-) Included in 3.6 prior to 3.6.5. |