Sorting by multiple columns
The API now allows for sorting on multiple columns, but they all share the same Sort.Direction
.
Add support for the client to specify sort direction by column:
{ "sort": { "foo": "asc", "bar": "asc", "xxx": "desc" } }
Also upgrade support for DEFAULT_SORT
in SpeciesController
to:
DEFAULT_SORT = { QTaxonomySpecies.taxonomySpecies.taxonomyGenus.genusName.asc(), QTaxonomySpecies.taxonomySpecies.speciesName.asc() };