Bug 10929

Summary: fund amounts sort incorrectly in table on Administration -> Budgets -> Funds page
Product: Koha Reporter: Galen Charlton <gmcharlt>
Component: AcquisitionsAssignee: Bugs List <koha-bugs>
Status: CLOSED INVALID QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: jonathan.druart
Version: Main   
Hardware: All   
OS: All   
See Also: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12844
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Galen Charlton 2013-09-21 19:42:30 UTC
Similar to bug 10792, the fund amounts (total allocated, base-level allocated, base-level spent, total sublevels spent, and base-level remaining) in the table on the admin/aqbudgets.pl page sort alphabetically, not numerically.
Comment 1 Galen Charlton 2013-09-21 21:22:32 UTC
A rough WIP set of patches can be found at the tip of

http://git.librarypolice.com/?p=koha-galen.git;a=shortlog;h=refs/heads/format_currency

The general idea is to (a) consolidate code that formats currency amounts and (b) have the actual formatting be invoked by a Template Toolkit filter in all cases except (for the moment) the PDF order basket generator.

This approach can trivially be extended to allow monetary amounts to be displayed consistently in circulation as well.

Comments welcome.
Comment 2 Jonathan Druart 2014-09-24 14:52:35 UTC
This is invalid since bug 11578 has been pushed (the columns are not sortable anymore).