Money columns do not sort correctly in billing interface
Bug #1211506 reported by
Bill Erickson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Medium
|
Unassigned | ||
2.3 |
Fix Released
|
Medium
|
Unassigned | ||
2.4 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Confirmed in master; believed to be true for Evergreen 2.3+
In the patron billing UI in the staff client, money columns sort ascii-betically instead of numerically. That's not cool. Working on a patch...
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix pushed:
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ berick/ lp1211506- bill-ui- money-sorting
Somewhere along the way, sort values for numeric columns (number, money) are getting cast to Strings. This patch casts them back to Numbers during sorting.