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:: 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": { "databases": {
"my_database": { "my_database": {
"tables": { "tables": {
"name_of_view": { "name_of_view": {
"sortable_columns": [ "sortable_columns": [
"clicks", "clicks",
"impressions" "impressions"
] ]
}
} }
} }
} }
} }
}
.. _label_columns: .. _label_columns: