Remove empty line

This commit is contained in:
Mario Hüttel 2023-09-04 20:46:17 +02:00
parent 8636c513b7
commit 210d67a898

View File

@ -223,7 +223,6 @@ class ComponentView(LoginRequiredMixin, KeepSearchParamMixin, BaseTemplateMixin,
search_fragments = search_string.strip().split() search_fragments = search_string.strip().split()
for search in search_fragments: for search in search_fragments:
queryset = queryset.filter(Q(name__icontains = search) | Q(manufacturer__name__icontains = search) | Q(package__name__icontains = search)) queryset = queryset.filter(Q(name__icontains = search) | Q(manufacturer__name__icontains = search) | Q(package__name__icontains = search))
return queryset return queryset
def get_component_queryset_from_advanced_search(self, cleaned_data): def get_component_queryset_from_advanced_search(self, cleaned_data):