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: use compound sort #238

Merged
merged 3 commits into from Jul 9, 2020
Merged

fix: use compound sort #238

merged 3 commits into from Jul 9, 2020

Conversation

benjamincanac
Copy link
Member

Use compoundsort instead of simplesort to handle sorting on multiple fields.

Types of changes

  • Bug fix (a non-breaking change which fixes an issue)
  • New feature (a non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@benjamincanac benjamincanac requested a review from Atinux July 8, 2020 17:33
@benjamincanac benjamincanac changed the title fix(lib): use compound sort fix: use compound sort Jul 8, 2020
@codecov-commenter
Copy link

codecov-commenter commented Jul 8, 2020

Codecov Report

❗ No coverage uploaded for pull request base (dev@a6f6efa). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##             dev     #238   +/-   ##
======================================
  Coverage       ?   89.42%           
======================================
  Files          ?       15           
  Lines          ?      539           
  Branches       ?      111           
======================================
  Hits           ?      482           
  Misses         ?       50           
  Partials       ?        7           

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 a6f6efa...e9ed0a4. Read the comment docs.

Copy link
Member

@Atinux Atinux left a comment

Choose a reason for hiding this comment

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

Looking good, would be nice to have a simple test to cover this

@benjamincanac benjamincanac merged commit d0ab1d5 into dev Jul 9, 2020
@benjamincanac benjamincanac deleted the fix/use-compound-sort branch July 9, 2020 09:39
benjamincanac added a commit that referenced this pull request Jul 10, 2020
* fix(lib): use compound sort

* fix(lib): plugin sends sorts in wrong order

* test: add with multiple sorts
benjamincanac added a commit that referenced this pull request Jul 10, 2020
* docs: update github link to dev branch

* Properly handle anchor tags without href fields (#230)

* chore(deps): update dependency @nuxt/static to ^0.0.12 (#234)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency sass-loader to ^9.0.2 (#235)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* fix: use compound sort (#238)

* fix(lib): use compound sort

* fix(lib): plugin sends sorts in wrong order

* test: add with multiple sorts

* chore(deps): update dependency @nuxt/static to v1 (#242)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore: add content:ready hook (#243)

* translate configuration.md into japanese

* add playground.md in ja

* add integrations.md in ja

* add examples.md in ja

* edit fetching.md

* translate wriging.md in ja

* update theme.md front matter in ja

* translate advanced.md in ja

* fix a bit

* edit front matter

* add translation

Co-authored-by: Benjamin Canac <canacb1@gmail.com>
Co-authored-by: Philip E Blair <peblairman@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
@benjamincanac benjamincanac mentioned this pull request Jul 17, 2020
6 tasks
benjamincanac added a commit that referenced this pull request Jul 20, 2020
* fix(lib): use compound sort

* fix(lib): plugin sends sorts in wrong order

* test: add with multiple sorts
benjamincanac added a commit that referenced this pull request Jul 20, 2020
* docs: update github link to dev branch

* Properly handle anchor tags without href fields (#230)

* chore(deps): update dependency @nuxt/static to ^0.0.12 (#234)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency sass-loader to ^9.0.2 (#235)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* fix: use compound sort (#238)

* fix(lib): use compound sort

* fix(lib): plugin sends sorts in wrong order

* test: add with multiple sorts

* chore(deps): update dependency @nuxt/static to v1 (#242)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore: add content:ready hook (#243)

* translate configuration.md into japanese

* add playground.md in ja

* add integrations.md in ja

* add examples.md in ja

* edit fetching.md

* translate wriging.md in ja

* update theme.md front matter in ja

* translate advanced.md in ja

* fix a bit

* edit front matter

* add translation

Co-authored-by: Benjamin Canac <canacb1@gmail.com>
Co-authored-by: Philip E Blair <peblairman@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
benjamincanac added a commit that referenced this pull request Jul 21, 2020
* docs: update github link to dev branch

* Properly handle anchor tags without href fields (#230)

* chore(deps): update dependency @nuxt/static to ^0.0.12 (#234)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency sass-loader to ^9.0.2 (#235)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* fix: use compound sort (#238)

* fix(lib): use compound sort

* fix(lib): plugin sends sorts in wrong order

* test: add with multiple sorts

* chore(deps): update dependency @nuxt/static to v1 (#242)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore: add content:ready hook (#243)

* docs: Update Japanese translate (#245)

* docs: update github link to dev branch

* Properly handle anchor tags without href fields (#230)

* chore(deps): update dependency @nuxt/static to ^0.0.12 (#234)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency sass-loader to ^9.0.2 (#235)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* fix: use compound sort (#238)

* fix(lib): use compound sort

* fix(lib): plugin sends sorts in wrong order

* test: add with multiple sorts

* chore(deps): update dependency @nuxt/static to v1 (#242)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore: add content:ready hook (#243)

* translate configuration.md into japanese

* add playground.md in ja

* add integrations.md in ja

* add examples.md in ja

* edit fetching.md

* translate wriging.md in ja

* update theme.md front matter in ja

* translate advanced.md in ja

* fix a bit

* edit front matter

* add translation

Co-authored-by: Benjamin Canac <canacb1@gmail.com>
Co-authored-by: Philip E Blair <peblairman@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>

* add user defined parsers

* fix empty options

* add to default config

* add docs

* Update nuxt.config.js

* Create custom.custom

* Update nuxt.config.js

* Update index.md

* Update configuration.md

* Update nuxt.config.js

* Update utils.js

* Update database.js

* test: add options with extend parser

Co-authored-by: Benjamin Canac <canacb1@gmail.com>
Co-authored-by: Philip E Blair <peblairman@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: 森 優太 mori <59682979+uta-mori@users.noreply.github.com>
benjamincanac added a commit that referenced this pull request Jul 27, 2020
* fix(lib): use compound sort

* fix(lib): plugin sends sorts in wrong order

* test: add with multiple sorts
benjamincanac added a commit that referenced this pull request Jul 27, 2020
* docs: update github link to dev branch

* Properly handle anchor tags without href fields (#230)

* chore(deps): update dependency @nuxt/static to ^0.0.12 (#234)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency sass-loader to ^9.0.2 (#235)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* fix: use compound sort (#238)

* fix(lib): use compound sort

* fix(lib): plugin sends sorts in wrong order

* test: add with multiple sorts

* chore(deps): update dependency @nuxt/static to v1 (#242)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore: add content:ready hook (#243)

* translate configuration.md into japanese

* add playground.md in ja

* add integrations.md in ja

* add examples.md in ja

* edit fetching.md

* translate wriging.md in ja

* update theme.md front matter in ja

* translate advanced.md in ja

* fix a bit

* edit front matter

* add translation

Co-authored-by: Benjamin Canac <canacb1@gmail.com>
Co-authored-by: Philip E Blair <peblairman@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
benjamincanac added a commit that referenced this pull request Jul 27, 2020
* docs: update github link to dev branch

* Properly handle anchor tags without href fields (#230)

* chore(deps): update dependency @nuxt/static to ^0.0.12 (#234)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency sass-loader to ^9.0.2 (#235)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* fix: use compound sort (#238)

* fix(lib): use compound sort

* fix(lib): plugin sends sorts in wrong order

* test: add with multiple sorts

* chore(deps): update dependency @nuxt/static to v1 (#242)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore: add content:ready hook (#243)

* docs: Update Japanese translate (#245)

* docs: update github link to dev branch

* Properly handle anchor tags without href fields (#230)

* chore(deps): update dependency @nuxt/static to ^0.0.12 (#234)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update devdependency sass-loader to ^9.0.2 (#235)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* fix: use compound sort (#238)

* fix(lib): use compound sort

* fix(lib): plugin sends sorts in wrong order

* test: add with multiple sorts

* chore(deps): update dependency @nuxt/static to v1 (#242)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore: add content:ready hook (#243)

* translate configuration.md into japanese

* add playground.md in ja

* add integrations.md in ja

* add examples.md in ja

* edit fetching.md

* translate wriging.md in ja

* update theme.md front matter in ja

* translate advanced.md in ja

* fix a bit

* edit front matter

* add translation

Co-authored-by: Benjamin Canac <canacb1@gmail.com>
Co-authored-by: Philip E Blair <peblairman@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>

* add user defined parsers

* fix empty options

* add to default config

* add docs

* Update nuxt.config.js

* Create custom.custom

* Update nuxt.config.js

* Update index.md

* Update configuration.md

* Update nuxt.config.js

* Update utils.js

* Update database.js

* test: add options with extend parser

Co-authored-by: Benjamin Canac <canacb1@gmail.com>
Co-authored-by: Philip E Blair <peblairman@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: 森 優太 mori <59682979+uta-mori@users.noreply.github.com>
@cloudflare-pages
Copy link

cloudflare-pages bot commented Sep 21, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5a48392
Status: ✅  Deploy successful!
Preview URL: https://b21d587b.nuxt-content-1il.pages.dev

View logs

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

3 participants