Add sorting by rating

This commit is contained in:
2026-03-21 18:53:26 +01:00
parent 167b37f471
commit 95e434a750
2 changed files with 58 additions and 34 deletions

View File

@@ -377,6 +377,11 @@ class TestBookSearchCommand:
"",
["Dune", "The Fellowship", "The Hobbit", "Programming Book"],
),
(
"sort:rating-desc",
"alice",
["The Hobbit", "Dune", "Programming Book", "The Fellowship"],
),
],
)
def test_book_search_advanced_queries(