You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to sort fields from relations table. The Paginator alias can only use the entity name. So if I have these entities and I used EntityOne as the Paginator entity - how can I sort the hello_world column from EntityTwo?
EntityOne
entity_one_id
foo_bar
entity_two_id
entityTwo -> joinColumn(entity_two_id)
EntityTwo
entity_two_id
hello_world
The paginationKeys option will only accepts keyof the used entity which is EntityOne
I tried addOrderBy but no luck.
Any suggestions is highly appreciated - thanks!
The text was updated successfully, but these errors were encountered:
Is it possible to sort fields from relations table. The Paginator alias can only use the entity name. So if I have these entities and I used
EntityOne
as the Paginator entity - how can I sort thehello_world
column fromEntityTwo
?EntityOne
EntityTwo
The
paginationKeys
option will only acceptskeyof
the used entity which isEntityOne
I tried
addOrderBy
but no luck.Any suggestions is highly appreciated - thanks!
The text was updated successfully, but these errors were encountered: