0

I have filter which filters content on a field e.g. 'topic' (art, sport, food). I display this as an horizontal accordion which slides out and the user can select a topic to narrow the search results.

This all works well but how do I custom order the field 'topic' in a custom manner? I'm guessing by adding an order column but the field is a property of the article.

Any ideas will be much appreciated.

4
  • Do you mean in Solr? Could you please add some screenshots? Aug 26 '21 at 10:52
  • I don't have access to Solr in this instance. I only have access to Content Editor. I'm rendering an accordion which visually looks as follows: i.ibb.co/sVx0YrX/ordering.png I need to re-order them to put 'Beverage' last. These properties are a field in content I have created. Aug 27 '21 at 8:05
  • Does it mean you are Sitecore to get Meal Type? Aug 27 '21 at 9:11
  • Yes Swati, MealType is a field on an object I created in SiteCore. Basically, I'm filtering on it. Aug 30 '21 at 7:32
0

You can use tree list to do sorting, and you can select Beverage at last. Samething you can do for other Topics

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.