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: still sort when search value is absent #101

Merged
merged 2 commits into from Sep 14, 2020

Conversation

RebeccaStevens
Copy link
Contributor

fix #100

What: Sort when search value is absent.

Why: Consistency.

How: Don't early escape if search value is absent.

Checklist:

  • Documentation "N/A"
  • Tests
  • Ready to be merged
  • Added myself to contributors table

@codecov
Copy link

codecov bot commented Sep 14, 2020

Codecov Report

Merging #101 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #101   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines          156       155    -1     
  Branches        38        37    -1     
=========================================
- Hits           156       155    -1     
Impacted Files Coverage Δ
src/index.js 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cad3220...4c072a0. Read the comment docs.

@RebeccaStevens RebeccaStevens mentioned this pull request Sep 14, 2020
4 tasks
Copy link
Owner

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super! Thanks!

@kentcdodds kentcdodds merged commit a110574 into kentcdodds:master Sep 14, 2020
@RebeccaStevens RebeccaStevens deleted the basesort-empty-search branch September 14, 2020 02:52
@kentcdodds
Copy link
Owner

🎉 This PR is included in version 4.2.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

Base sort should still be applied if the search string is empty
2 participants