Skip to content

Make sort syntax consistent in tests#434

Merged
texodus merged 2 commits intomasterfrom
fix-sort-syntax
Feb 19, 2019
Merged

Make sort syntax consistent in tests#434
texodus merged 2 commits intomasterfrom
fix-sort-syntax

Conversation

@sc1f
Copy link
Contributor

@sc1f sc1f commented Feb 18, 2019

Previously we allowed for 2 types of sort syntax to be passed through configs:

  • [["column", "asc"]]: a 2D array with a column name and a direction string
  • ["column"]: an array of column names

This PR deprecates the latter format in our tests and uses the clearer, first format.

@texodus texodus added enhancement Feature requests or improvements JS labels Feb 19, 2019
@texodus
Copy link
Member

texodus commented Feb 19, 2019

Thanks for the PR! This was a silly leftover vestige from a by-gone era, before we had 9 different sort types - past time it was cleaned up!

@texodus texodus merged commit 8d30e73 into master Feb 19, 2019
@texodus texodus deleted the fix-sort-syntax branch February 19, 2019 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Feature requests or improvements JS

Development

Successfully merging this pull request may close these issues.

3 participants