kopia lustrzana https://github.com/simonw/datasette
Fixed bug with FTS against tables with hyphens in the name
rodzic
a5881e105a
commit
523c6f9e3a
|
@ -456,7 +456,7 @@ class TableView(BaseView):
|
|||
search = special_args.get('_search')
|
||||
if search and fts_table:
|
||||
where_clauses.append(
|
||||
'rowid in (select rowid from {fts_table} where {fts_table} match :search)'.format(
|
||||
'rowid in (select rowid from [{fts_table}] where [{fts_table}] match :search)'.format(
|
||||
fts_table=fts_table
|
||||
)
|
||||
)
|
||||
|
|
Ładowanie…
Reference in New Issue