mirror of https://github.com/LemmyNet/lemmy.git
* Show oldest registration applications first (ref #4122) * fix testsadd_creator_is_moderator_to_other_views
parent
df53d2a0e8
commit
1e59e7ab47
|
@ -62,7 +62,7 @@ fn queries<'a>() -> Queries<
|
||||||
query = query
|
query = query
|
||||||
.limit(limit)
|
.limit(limit)
|
||||||
.offset(offset)
|
.offset(offset)
|
||||||
.order_by(registration_application::published.desc());
|
.order_by(registration_application::published.asc());
|
||||||
|
|
||||||
query.load::<RegistrationApplicationView>(&mut conn).await
|
query.load::<RegistrationApplicationView>(&mut conn).await
|
||||||
};
|
};
|
||||||
|
@ -308,7 +308,7 @@ mod tests {
|
||||||
|
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
apps,
|
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
|
// Make sure the counts are correct
|
||||||
|
|
Loading…
Reference in New Issue