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
Using order_by_desc is not working with cursor_by.
Steps to Reproduce
// Returned values are `by_asc` even if `by_desc` is specified let result = thread::Entity::find().cursor_by(thread::Column::Id).order_by_desc(thread::Column::Id).after(10).before(0).limit(10).all(self.connection.as_ref()).await?;
// Not working either let result = thread::Entity::find().order_by_desc(thread::Column::Id).cursor_by(thread::Column::Id).order_by_desc(thread::Column::Id).after(10).before(0).limit(10).all(self.connection.as_ref()).await?;
// This is workinglet result = thread::Entity::find().order_by_desc(thread::Column::Id).all(self.connection.as_ref()).await?;
Description
Using
order_by_desc
is not working withcursor_by
.Steps to Reproduce
Expected Behavior
Data sorted by desc.
Actual Behavior
order_by_desc
is not applied.Reproduces How Often
100%
Workarounds
None for the moment
Reproducible Example
#2377
Versions
The text was updated successfully, but these errors were encountered: