Posted by Grayside on December 14, 2010 at 5:29pm
4 followers
| Project: | Case Tracker |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
The attached patch adds a straightforward Sort handler to Case Tracker, suitable for ordering views of cases in the same order as in state UI widgets.
Since I was right there, I also cleaned up the redundancy "Case Tracker: Case Tracker: State Names" for the State Names sort handler.
| Attachment | Size |
|---|---|
| casetracker.weight_handler.patch | 1010 bytes |
Comments
#1
went a little bit more ahead and added the weight as a field (so it can be used in a table to sort) as well as added relationship to link the priority and type of a case to its states.
#2
Looks good at a glance, but this needs someone else to review :)
#3
Simple and awesome patch. Solves sorting issues on case priority (weight sorting makes more sense than name sorting).
I also added a missing help text on a project relationship.
#4
Patch #3 working for me on D6, though now I need to find the equivalent for Priority Weight sorting ... :D