Support _search_COLUMN=text searches, closes #237

This commit is contained in:
Simon Willison 2018-05-05 19:33:08 -03:00
commit 1259b8ac0b
No known key found for this signature in database
GPG key ID: 17E2DEA2588B7F52
5 changed files with 78 additions and 25 deletions

View file

@ -522,7 +522,7 @@ class Filters:
def human_description_en(self, extra=None):
bits = []
if extra:
bits.append(extra)
bits.extend(extra)
for column, lookup, value in self.selections():
filter = self._filters_by_key.get(lookup, None)
if filter: