One thing to get in quickly before the stable release.

The user needs to be able to sort by state... but not alphabetically, but by the 'support_states.weight' column. (That's exactly what such a column is there for.)

This really is only suitable for sorting IMHO... so I doubted if I'd even make a 'field' for it. (I purposely did not add 'argument' / 'filter'.)
On the other hand, now a views builder can experiment with showing the value / click sorting, to see what it does.
So I included it anyway.

(Hunk #2/#3 in the patch are the few places where -I believe- the spacing was not corrected yet. If they were corrected: please ignore; they are irrelevant to this issue.)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

roderik’s picture

Title: Sort handler on 'state weight' » Sort handler on state & priority 'weight'
FileSize
3.19 KB

Let's add "priority weight" too, then. Duh.

roderik’s picture

FileSize
3.2 KB

It's late *sigh* - change applied to description text.

MisterSpeed’s picture

Priority ID sort was already in the latest -dev but state sort will be very useful. Thanks !

Homotechsual’s picture

Committed into 6.x Branch.

Homotechsual’s picture

Status: Needs review » Patch (to be ported)

Needs forwardport to 7.x version.

Homotechsual’s picture

Status: Patch (to be ported) » Fixed

Committed in 7.x-1.0

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.