Corrected indentation in metadata.rst

This commit is contained in:
Simon Willison 2018-08-28 02:56:34 -07:00
commit 9e1fca4b01
No known key found for this signature in database
GPG key ID: 17E2DEA2588B7F52

View file

@ -123,20 +123,20 @@ You can also disable sorting entirely by setting ``"sortable_columns": []``
By default, database views in Datasette do not support sorting. You can use ``sortable_columns`` to enable specific sort orders for a view called ``name_of_view`` in the database ``my_database`` like so::
{
"databases": {
"my_database": {
"tables": {
"name_of_view": {
"sortable_columns": [
"clicks",
"impressions"
]
{
"databases": {
"my_database": {
"tables": {
"name_of_view": {
"sortable_columns": [
"clicks",
"impressions"
]
}
}
}
}
}
}
.. _label_columns: