Bug 5084

Summary: GetBudgetHierarchy doesn't respect the 'active' switch on budgets
Product: Koha Reporter: Robin Sheat <robin>
Component: AcquisitionsAssignee: Robin Sheat <robin>
Status: CLOSED FIXED QA Contact: Bugs List <koha-bugs>
Severity: normal    
Priority: PATCH-Sent (DO NOT USE) CC: chris, julian.maurice
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: proposed patch

Description Robin Sheat 2010-08-04 02:12:30 UTC
GetBudgetHierarchy produces the list of funds that are available when showing the dropdown in the orders page, and the list on the acquisition home page.

This ignores the 'active' state of the budget, which leads to a) inactive funds being shown, and b) them able to be selected when they probably shouldn't be.
Comment 1 Robin Sheat 2010-08-04 03:43:41 UTC
Created attachment 2448 [details] [review]
proposed patch
Comment 2 Chris Cormack 2010-12-14 02:13:18 UTC
Pushed, please test