[Koha-bugs] [Bug 15009] Planning dropdown button in aqbudget can have empty line
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Oct 13 22:19:00 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15009
--- Comment #1 from Blou <philippe.blouin at inlibro.com> ---
Created attachment 43392
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43392&action=edit
Bug 15009 - Planning dropdown button in aqbudget can have empty line
When displaying a budget, the Planning button in the admin toolbar displays
Plan by months
Plan by libraries
Plan by item types
Plan by
The last one is empty, due to C4::Budgets::GetBudgetAuthCats returning an empty
field if the budget has no sort defined.
This prevents returning an array with empty element(s)
TEST:
1) Admin -> Budgets
2) Select a budget
a) you must have '' (empty) in your aqbudgets.sort1_authcat field.
b) edit the budget (direct DB or interface) to get that.
3) Click on Planning dropdown, see the "Plan by <nothing> " entry.
4) apply the patch, revalidate.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list