Skip to content

Default multisort is not working #648

@ckchiu2

Description

@ckchiu2

PR: #607

Describe the bug

Default value for multisorting is not applied.

To Reproduce

https://codesandbox.io/s/material-table-starter-template-forked-g7ozsw?file=/src/index.js

Expected behavior

Default value for multisorting should be applied

Additional context

  1. For the test script for defaultOrderByCollection, the expect clause is called after the mouse click event, therefore the default value is not tested correctly
  2. It breaks (my) datamanager.clearCriteria() because a replacement is not provided for the changeOrder() call, which is removed in the feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions