Can categories and tags be used in a SortExpression?

Posted by Community Admin on 04-Aug-2018 16:51

Can categories and tags be used in a SortExpression?

All Replies

Posted by Community Admin on 25-Jul-2012 00:00

In the documents list widget->advanced->controldefinition->views->MasterXView

There's a filter and sort expression, and we seem to be able to (quite easily) filter and sort...however we very very much want to filter by TAXONIDs in there as well as the options set in the designer aren't always the logic we want (mix of ANDs and ORs, not configurable)

Doable?

Posted by Community Admin on 25-Jul-2012 00:00

Hey Steve,

We often filter by taxonid by doing this: Visible = true AND Status = Live AND MyCustomFieldName.Contains("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx")

Where the xxxx are the actual ID of the Taxon you need to filter by. Is that what you're looking for?

Posted by Community Admin on 25-Jul-2012 00:00

Hmm, I think that's it! :)

Thanks much!

This thread is closed