This commit is contained in:
yiorgos marinellis 2020-04-28 22:55:17 +02:00
parent bd0621884b
commit 2851d4112f
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ class DeviceView(View):
).order_by(
search.Search.rank(properties, search_p) + search.Search.rank(tags, search_p)
)
query = self.user_filter(query)
query = self.visibility_filter(query)
return query.filter(*args['filter']).order_by(*args['sort'])