(backend) allow filtering by documents marked as favorite

We recently allowed authenticated users to mark a document as favorite.
We were lacking the possibility for users to see only the documents
they marked as favorite.
This commit is contained in:
Samuel Paccoud - DINUM
2024-11-13 08:58:12 +01:00
committed by Anthony LC
parent 23f90156bf
commit 08bb64ddc1
3 changed files with 14 additions and 11 deletions

View File

@@ -433,7 +433,6 @@ def test_api_documents_list_filter_is_creator_me_invalid():
results = response.json()["results"]
assert len(results) == 5
# Filters: is_favorite
@@ -496,7 +495,6 @@ def test_api_documents_list_filter_is_favorite_invalid():
results = response.json()["results"]
assert len(results) == 5
# Filters: link_reach