yourlabs / django-autocomplete-light

A fresh approach to autocomplete implementations, specially for Django. Status: v4 alpha, v3 stable, v2 & v1 deprecated.
https://django-autocomplete-light.readthedocs.io
MIT License
1.79k stars 467 forks source link

DAL not picking up word in a long sentense #1275

Closed minifisk closed 2 years ago

minifisk commented 2 years ago

I have an entry in my DB looking like this:

Tysk spets; grosspitz, kleinspitz, mittelspitz, keeshond (wolfspitz) och pomeranian (zwergspitz / dvärgspets)

However, when I search for "pomeranian" it don't show up. But if I search for "Tysk spets" I can see the result and read the pomeranian from the post.

Bug?

minifisk commented 2 years ago

Lol. I was using istartswith instead of icontain in the DAL view.