The folders in the reporting tool are not sorted 1.6.0.8, 2.0.3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The folders in the reporting tool are not sorted.
Found on 1.6.0.8. Also found on 2.0.3 on the acq.open-ils.org server.
On the acq.open-ils.org server I logged in as admin and created the following folders as subfolders of the "Output" folder in the following order: 1Test, 0Test, 3Test, 2Test
When I expanded the "Output" folder, they were there in the order they were created in.
I then renamed the 1Test folder XTest and the 3Test folder _Test and they were moved to have the last edited folder on the bottom.
Per dbs: [16:11] dbs: AaronZ-PLS: Yeah, there's no order by attribute in open-ils.
Request: Change the open-ils.
tags: | added: 1.6.0.8 2.0.3 |
tags: | added: hintsavailable |
tags: | added: pullrequest |
Changed in evergreen: | |
status: | New → Confirmed |
tags: | removed: pullrequest |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
AaronZ,
Please give the attached patch for Reporter.pm a try. It's working for me, as best I can tell!
I'm not a Perl expert, but I kind of stole the sort method from another section in the code and told it to sort on 'name" rather than "create_date".
-Mike