Developer forum

Forum » Feature requests » Sorting of options in itemtype lists fields

Sorting of options in itemtype lists fields

Lars Larsen
Lars Larsen
Reply

Hi

It would be nice if it was possible to sort options in itemtype field lists (see attachment) when the options comes from another itemtype. 

In order to sort options I have to use source type "SQL" instead, because then its possible to do the sorting in the SQL query. But options from source type "SQL" are cached quite hard, so items created after the list field is created doesn't show up in the options list! Not until the itemtype where the itemfield lists field lives is saved again.

Capture.PNG

Replies

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

+1

 
Lars Larsen
Lars Larsen
Reply

Now I see it's possible to sort list option (DW v9.7.1) when an itemtype is used (see attachment). But my original feature request was to be able to define the sort order of the options when defining the list field in the itemtype. 

Capture.PNG