datasette/tests
Simon Willison b13f0986f2 New sortable_columns option in metadata.json to control sort options
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
2018-04-08 22:10:22 -07:00
..
__init__.py Broke up test_app into test_api and test_html 2017-12-15 04:08:24 -08:00
fixtures.py New sortable_columns option in metadata.json to control sort options 2018-04-08 22:10:22 -07:00
test_api.py New sortable_columns option in metadata.json to control sort options 2018-04-08 22:10:22 -07:00
test_html.py New sortable_columns option in metadata.json to control sort options 2018-04-08 22:10:22 -07:00
test_inspect.py Mark FTS-related tables as 'hidden' in inspect() 2017-11-21 12:55:59 -08:00
test_utils.py _sort and _sort_desc parameters for table views 2018-04-08 22:10:22 -07:00