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

fix table sort #78

Merged
merged 1 commit into from May 26, 2017
Merged

fix table sort #78

merged 1 commit into from May 26, 2017

Conversation

gwvt
Copy link
Contributor

@gwvt gwvt commented May 26, 2017

Sort all falsy values except 0 to end, leave 0 values in normal sort order. Fixes 0 values being sorted to end, e.g., a list of numbers sorted as [1, 2, 0], where one would expect [0, 1, 2]. Null values still sorted to end, e.g., [0, 1, 2, null].

Sort all falsy values except 0 to end, leave 0 values in normal sort order. Fixes 0 values being sorted to end, e.g., a list of numbers sorted as [1, 2, 0], where one would expect [0, 1, 2]. Null values still sorted to end, e.g., [0, 1, 2, null].
@rafaberaldo rafaberaldo merged commit f4c4c29 into buefy:dev May 26, 2017
@rafaberaldo
Copy link
Member

Great! Thank you.

@gwvt gwvt deleted the patch-1 branch October 12, 2017 19:25
kikuomax added a commit to kikuomax/buefy that referenced this pull request Sep 18, 2023
- Updates the unit tests (spec) of `Snackbar` so that they can work with
  `@vue/test-utils` V2:
    - Replaces `wrapper.name()` with `wrapper.vm.$options.name` because
      `wrapper.name` no longer exists in `@vue/test-utils` V2.
    - Replaces the test on `wrapper.isVueInstance()` with presence of
      `wrapper.vm` because `wrapper.isVueInstance` no longer exists in
      `@vue/test-utils` V2.
    - Replaces a legacy async test case with an async function.
    - Replaces `attachToDocument: true` option for `shallowMount` with
      `attachTo: document.body` because `attachToDocument` is no longer
      effective on `@vue/test-utils` V2.
    - Replaces `propsData` option for `shallowMount` with `props`
      because `propsData` might be deprecated in the future.
    - Refreshes the snapshot. I did not find any problems in the updated
      snapshot.

issue ntohq#1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants