mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Massive UI/UX Overhaul
This commit is contained in:
@@ -39,7 +39,7 @@ class Books(models.Model):
|
||||
def generic_search(self, query):
|
||||
try:
|
||||
results = Books.objects.annotate(
|
||||
search=SearchVector("title", "file_name", "author"),
|
||||
search=SearchVector("title", "file_name", "author","tags"),
|
||||
).filter(search=query)
|
||||
except Exception as e:
|
||||
raise
|
||||
|
||||
Reference in New Issue
Block a user