mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Fix for combining ?_search_x and ?_searchmode=raw, closes #1134
This commit is contained in:
parent
fe86d85308
commit
6000d1a724
2 changed files with 10 additions and 1 deletions
|
|
@ -1035,6 +1035,13 @@ def test_sortable_columns_metadata(app_client):
|
|||
[2, "terry dog", "sara weasel", "puma"],
|
||||
],
|
||||
),
|
||||
(
|
||||
# _searchmode=raw combined with _search_COLUMN
|
||||
"/fixtures/searchable.json?_search_text2=te*&_searchmode=raw",
|
||||
[
|
||||
[1, "barry cat", "terry dog", "panther"],
|
||||
],
|
||||
),
|
||||
(
|
||||
"/fixtures/searchable.json?_search=weasel",
|
||||
[[2, "terry dog", "sara weasel", "puma"]],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue