FEAT: Improve 'omni'search

- Partialised template
- Added to assets header
- Added ability to search assets/suppliers
- Improved selection logic
- Have it display current query
This commit is contained in:
2020-06-19 11:01:19 +01:00
parent e4e8823a1a
commit 84618deac0
12 changed files with 78 additions and 55 deletions

View File

@@ -159,3 +159,7 @@ class GenericListView(generic.ListView):
if orderBy != "":
object_list = object_list.order_by(orderBy)
return object_list
class SearchHelp(generic.TemplateView):
template_name = 'search_help.html'