cancel
Showing results for 
Search instead for 
Did you mean: 

Backoffice: enable listview sort

former_member593023
Discoverer
0 Kudos

Hi,

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

Accepted Solutions (1)

Accepted Solutions (1)

mpern
Employee
Employee
0 Kudos

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.

Hi Markus,

these years, did you find a way to sort the results got from Solr?

Thank you in advance.

jseidl
Explorer
0 Kudos

Hi Markus,

We have a similar requirement for our customer - any news on how to sort solr results in backoffice? Thanks!

MarkusHarr
Participant
0 Kudos

Hi Markus,

same here. A customer needs sorting in Product Cockpit for search results from Solr.

Do you know what the current state of this feature is?

Answers (1)

Answers (1)

petrapenzer
Member
0 Kudos

Sorting is also not possible in Backoffice Product cockpit (https://help.hybris.com/6.6.0/hcd/2714ee56845d47d7afe57df1c8ad447a.html), 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".

mpern
Employee
Employee
0 Kudos

But then you can't use the fulltext search and facets anymore, correct?