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

Metadata flagged partials #32

Closed
wants to merge 4 commits into from
Closed

Metadata flagged partials #32

wants to merge 4 commits into from

Conversation

julrichkieffer
Copy link

[Fixes #31]

Instead of supplementing the query array in fuzzyFindOne(), I opted for a localised solution: calling findOne() directly with additional queries.

These additional queries are only called should fuzzyFindOne() return null. And indeed they short-circuit to give the best performance.

Tests and the plugin's README.md is also changed to reflect the solution.

julrich added 4 commits December 9, 2016 18:46
[Fixes #31]

Instead of suplimenting the query array in fuzzyFindOne(), I opted for a localised solution: calling findOne() directly with additional queries.

These additional queries are only called should fuzzyFindOne() return null. And indeed they shortcircuit to give the best performance.

Tests and the plugin's README.md is also changed to reflect the solution.
[Fixes #31]

Instead of suplimenting the query array in fuzzyFindOne(), I opted for a localised solution: calling findOne() directly with additional queries.

These additional queries are only called should fuzzyFindOne() return null. And indeed they shortcircuit to give the best performance.

Tests and the plugin's README.md is also changed to reflect the solution.
@balupton
Copy link
Member

balupton commented Aug 1, 2019

I have become too preoccupied by other things to review, merge, and release this PR.

However, you should have received an invite a while ago to join the DocPad Extras Team, which will give you write access to this repository, so you can merge in the PR, and become one of the maintainers of this repository.

For an orientation, or if you need any assistance following the semi-automatic release process from CONTRIBUTING.md, reach out via https://bevry.me/discord/dev

@julrichkieffer julrichkieffer closed this by deleting the head repository Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unnecessary hard-coding of src/partials during render
3 participants