diff --git a/src/views/translators.rs b/src/views/translators.rs index eea8497..f1fc5bd 100644 --- a/src/views/translators.rs +++ b/src/views/translators.rs @@ -64,7 +64,7 @@ async fn get_translated_books( .with(book_author::author::fetch().with(author::author_annotation::fetch())), ) .with(book::book_sequences::fetch(vec![]).with(book_sequence::sequence::fetch())) - .order_by(book::id::order(prisma_client_rust::Direction::Asc)) + .order_by(book::title::order(prisma_client_rust::Direction::Asc)) .skip((pagination.page - 1) * pagination.size) .take(pagination.size) .exec()