@ -47,7 +47,7 @@ class OdevzdatelnyProblemAutocomplete(autocomplete.Select2QuerySetView):
print(qs)
if self.q:
qs = qs.filter(
Q(nazev__startswith=self.q))
Q(nazev__icontains=self.q))
return qs
# Ceka na autocomplete v3