From 9e1fca4b016bbb2d4b2ab350ca1570ba6141afe8 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Tue, 28 Aug 2018 02:56:34 -0700 Subject: [PATCH] Corrected indentation in metadata.rst --- docs/metadata.rst | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/metadata.rst b/docs/metadata.rst index a0b1e88f..8b19d8c1 100644 --- a/docs/metadata.rst +++ b/docs/metadata.rst @@ -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: