Add URL to search query

This commit is contained in:
Sascha Ißbrücker 2020-12-28 06:46:43 +01:00
parent e497bcb5c0
commit 719a11a658
1 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,7 @@ def query_bookmarks(user: User, query_string: str):
| Q(description__contains=term)
| Q(website_title__contains=term)
| Q(website_description__contains=term)
| Q(url__contains=term)
)
for tag_name in query['tag_names']:
@ -68,6 +69,7 @@ def query_tags(user: User, query_string: str):
| Q(bookmark__description__contains=term)
| Q(bookmark__website_title__contains=term)
| Q(bookmark__website_description__contains=term)
| Q(bookmark__url__contains=term)
)
for tag_name in query['tag_names']: