✨(backend) allow filtering documents by link reach
We want to be able to limit document list views to only public documents, or only restricted or authenticated documents.
This commit is contained in:
committed by
Anthony LC
parent
08bb64ddc1
commit
bfbdfb2b5c
@@ -21,7 +21,7 @@ class DocumentFilter(django_filters.FilterSet):
|
||||
|
||||
class Meta:
|
||||
model = models.Document
|
||||
fields = ["is_creator_me", "is_favorite"]
|
||||
fields = ["is_creator_me", "is_favorite", "link_reach"]
|
||||
|
||||
# pylint: disable=unused-argument
|
||||
def filter_is_creator_me(self, queryset, name, value):
|
||||
|
||||
Reference in New Issue
Block a user