cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to enable sorting in dynamic/referenced attribute in listview section of backoffice.

bidyadhar_tripathy
Participant
941

Hi All,

We have added a dynamic attribute "line1" in Address listview in backoffice. But we can't able to sort the view based on "line1", it is not clickable. But sort is working for other attributes (type="property").

Update : Sorting is also not working for referenced attributes like region, country.

         <list-view:column qualifier="region"/>
         <list-view:column qualifier="country"/>

Anyone please help me on how to enable sort in dynamic and referenced attributes in listview ?

Thanks in advance.

[1]: /storage/temp/12944-capture.png

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

DefaultPlatformFieldSearchFacadeStrategy is the class which gets called for sorting

former_member625836
Active Contributor
0 Kudos

Hi ,

It is not possible to sort against dynamic and/or reference attributes. Both of different reasons, yet both from technical point of view are impossible (dynamic - is not stored in database, while sorting is done on database query level, reference - unable to determine which property of reference to use as sort).

Cheers, Jacek

Former Member
0 Kudos

Hi @jacek wajawawIs it possible to modify the query for sorting? if yes, can you please suggest the class which gets called for sorting in list view