Default order: Ordering over several categories 49 Postsmorhinio 2 years ago4TopicHello,I have several categories (4) with different items.Now I have created a list & search form and want to set the ordering as follow:First show all items from the category one with the article ordering from the backend.Second show all items from the category two with the article ordering from the backend.And so on.Is that possible? I could not found this option. 4229 PostsKadministrator 2 years ago2Level 1What you are looking for is not ordering but grouping by category, I don't think this is available by default but if I recall correctly someone developed a template for that, try searching this forums for solution 49 Postsmorhinio 2 years ago1Level 2Hello Klas,I can't find a solution (template) in the forum.Do you have a tip for me, which search term I should use? 1231 PostsBucklash 2 years ago0Level 3HiHave you looked at Search QueryYou can append the Seblod search query or override it with your own....Sounds like you want to use 'Group By' 49 Postsmorhinio 2 years ago0Level 1I have bought the field search query. I have read the following tutorial:https://www.seblod.com/resources/tutorials/using-the-search-query-field-pluginBut my first problem is, that I have no field for the live value.My test query looks so:SELECT a.*, b.*FROM #__content as aINNER JOIN #__cck_store_form_demo AS b ON a.id = b.id INNER JOIN #__categories AS c ON a.catid = c.idORDER BY c.lft, a.orderingBut I get no results if I add the search query field to the search form.