Skip to Content

Backoffice: enable listview sort


Can you explain how to enable sorting in backoffice listview? (I'm using Hybris 6.6)

For example, Catalog > Categories listview has sortable columns "Identifier" and "Name". But, on the other hand, Catalog > Products listview is not sortable until you activate advanced search.

So, what defines is some listview sortable by clicking on its headers and why exactly some listviews (e.g. Catalog > Products) become sortable when advanced search is activated?

Thanks in advance

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Oct 16, 2018 at 10:59 AM

    The catch here is that Products use a different "search engine" out-of-the-box then the rest of the item types, the Solr Search in Backoffice

    So if you select "Product" in the explorer tree, you automatically get the results from Solr, and here it seems sorting is not possible yet (I'm still trying to figure out if it is a matter of configuration or if it is really not supported...)

    But, as you have already found out, if you open the Advanced Search, you force the use of the good old flexible search, and here you can sort the results.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 23, 2018 at 10:33 AM

    Sorting is also not possible in Backoffice Product cockpit (, in "Products" view.

    "Products" view uses Solr search and "Assortment" view uses Flexible search. So, the sorting is not enabled in "Products" view (because of Solr - see the previous comment). If you want to enable sorting in "Products" view, you can use Flexible search: instead of solr, define flexible for component="pcmbackoffice-fulltext-search".

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.