mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
You can now explicitly set which columns in a table can be used for sorting
using the _sort and _sort_desc arguments using metadata.json:
{
"databases": {
"database1": {
"tables": {
"example_table": {
"sortable_columns": [
"height",
"weight"
]
}
}
}
}
}
Refs #189
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| fixtures.py | ||
| test_api.py | ||
| test_html.py | ||
| test_inspect.py | ||
| test_utils.py | ||