mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-26 11:21:02 +00:00
* Show oldest registration applications first (ref #4122) * fix tests
This commit is contained in:
parent
df53d2a0e8
commit
1e59e7ab47
1 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ fn queries<'a>() -> Queries<
|
|||
query = query
|
||||
.limit(limit)
|
||||
.offset(offset)
|
||||
.order_by(registration_application::published.desc());
|
||||
.order_by(registration_application::published.asc());
|
||||
|
||||
query.load::<RegistrationApplicationView>(&mut conn).await
|
||||
};
|
||||
|
@ -308,7 +308,7 @@ mod tests {
|
|||
|
||||
assert_eq!(
|
||||
apps,
|
||||
[read_jess_app_view.clone(), expected_sara_app_view.clone()]
|
||||
[expected_sara_app_view.clone(), read_jess_app_view.clone()]
|
||||
);
|
||||
|
||||
// Make sure the counts are correct
|
||||
|
|
Loading…
Reference in a new issue