How do I add a custom orderBy option in Core List component #3005
Unanswered
nicoleta-scutaru
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have a list component in my code which uses list delegate like so:
@self
@via(type = ResourceSuperType.class)
@DeleGate(types = List.class)
private List listModel;
I want to override this method in my code:
com.adobe.cq.wcm.core.components.internal.models.v1.ListImpl -> protected java.util.List getPages()
Is there any way to achieve that?
If not, how would I be able to apply my own sort by in my list?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions