[Koha-bugs] [Bug 14388] add sorting to funds

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 3 02:03:30 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14388

--- Comment #2 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 40765
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=40765
Bug 14388: Funds should be sorted by budget_code

Review of attachment 40765:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=14388&attachment=40765)
-----------------------------------------------------------------

::: t/db_dependent/Budgets.t
@@ +428,5 @@
>  );
>  
>  $budget_hierarchy        = GetBudgetHierarchy($budget_period_id);
> +is( $budget_hierarchy->[0]->{children}->[0]->{budget_name}, 'budget_11', 'GetBudgetHierarchy should return budgets ordered by name, first child is budget_11' );
> +is( $budget_hierarchy->[0]->{children}->[1]->{budget_name}, 'budget_12', 'GetBudgetHierarchy should return budgets ordered by name, first child is budget_12' );

second child, not first. Please fix typo.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list