Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enables multisorting #36

Merged
merged 3 commits into from
Jun 18, 2016
Merged

Enables multisorting #36

merged 3 commits into from
Jun 18, 2016

Commits on Jun 7, 2016

  1. Enables multisorting

    New property `multiSort` added. If it's false (default), everything works like before
    
    However when it's set to true, you can sort data by several selected columns. The most recent selected column has the smallest precedence.
    
    The generated request looks like this: `?sort=id|desc,name|asc,email|asc`
    
    Of course to get this working, you'll need a backend which is able to parse the above format.
    
    Please note that this commit breaks backwards compatibility *a bit*. Now if you want to initialise the sort-order property, it should be done with an array like this. Just wrap your previous object in an array.
    
    ```
    [{
        field: 'name',
        direction: 'asc'
    }]
    ```
    balping committed Jun 7, 2016
    Configuration menu
    Copy the full SHA
    7d7b199 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2016

  1. Configuration menu
    Copy the full SHA
    cbf3c66 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c4189fd View commit details
    Browse the repository at this point in the history