I was happy to find a module that combines field so simply. I felt disappointed when I went to table settings and found the new field is not sortable. Are there plans to have this feature? Are there any difficulties I should be aware of?

Comments

DanNY’s picture

me too. Needed this to combine, but would great if it was sortable, make it the default sort. Thanks

jprstoney’s picture

Yep, could really do with a sort option. Tried using row weights but the range only goes form 10 to -10 and I have around 150 items.

UPDATE: I solved my issue by changing the operator from 'contains' to 'is equal to'. All labels now in alphabetical order.

UPDATE: Strangely, some labels still slip out of alphabetical order so I'll get a label beginning with D in the middle of the C's although the rest of the D's are fine.

stBorchert’s picture

Version: 7.x-1.2 » 10.0.x-dev
Issue summary: View changes

In Drupal 9/10 the field is sortable but clicking on it results in a fatal error ... duh!

  • stBorchert authored 8e4ef3d1 on 10.0.x
    Issue #2088523 by elzix, stBorchert: Sortable Option
    
stBorchert’s picture

Status: Active » Fixed

10 years ... wow 🙈

Some minutes ago I was like "nah, that won't work because we don't have a real field to use in the query" but then I remembered you can use formulas in addOrderBy().

*Warning*
There may be some glitches in the sort order because sorting uses the values stored in the database, while the displayed values are rendered by views/Drupal. But it should work in 99% of the cases (+ x).

Status: Fixed » Closed (fixed)

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