-
-
Notifications
You must be signed in to change notification settings - Fork 121
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
I just spotted a bug when using https://datasette.io/plugins/datasette-configure-fts and https://datasette.io/plugins/datasette-edit-schema at the same time.
Steps to reproduce:
- Configure FTS for a table, then run a test search
- Edit the schema for that table and change the order of columns
- Run the test search again
I got the wrong search results, which I think is because the _fts
table pointed to the first table by rowid
but those rowid
values were entirely rewritten as a consequence of running table.transform()
on the table.
Reconfiguring FTS on the table fixed the problem.
I think table.transform()
should be able to preserve rowid
values.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working