mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
"sort" and "sort_desc" metadata properties, closes #702
This commit is contained in:
parent
e1a817411a
commit
236aa065b2
4 changed files with 85 additions and 2 deletions
|
|
@ -304,6 +304,8 @@ METADATA = {
|
|||
"fts_table": "searchable_fts",
|
||||
"fts_pk": "pk",
|
||||
},
|
||||
"attraction_characteristic": {"sort_desc": "pk"},
|
||||
"facet_cities": {"sort": "name"},
|
||||
},
|
||||
"queries": {
|
||||
"𝐜𝐢𝐭𝐢𝐞𝐬": "select id, name from facet_cities order by id limit 1;",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue