WIP: feature/#35-shimatta-search-language #39

Draft
sst wants to merge 3 commits from feature/#35-shimatta-search-language into develop
Showing only changes of commit 8a676c096a - Show all commits

View File

@ -34,7 +34,7 @@ class ComponentView(LoginRequiredMixin, BaseTemplateMixin, TemplateView):
search_parser = ShimattaSearchLanguage() search_parser = ShimattaSearchLanguage()
query, errors = search_parser.search_for_components(search_string) query, errors = search_parser.search_for_components(search_string)
if query: if query and not errors:
try: try:
queryset = queryset.filter(query) queryset = queryset.filter(query)
except Exception as ex: except Exception as ex: