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

Improve where with missing values #5416

Closed
bep opened this Issue Nov 7, 2018 · 0 comments

Comments

Projects
None yet
2 participants

tryzniak added a commit to tryzniak/hugo that referenced this issue Feb 4, 2019

Support nested keys/fields with missing values with the `where` function
Before this commit `where` would produce an error and bail building the
site. Now, `where` simply skips an element of a collection and does not
add it to the final result.

Closes gohugoio#5637
Closes gohugoio#5416

@bep bep closed this in #5676 Feb 6, 2019

bep added a commit that referenced this issue Feb 6, 2019

Support nested keys/fields with missing values with the `where` function
Before this commit `where` would produce an error and bail building the
site. Now, `where` simply skips an element of a collection and does not
add it to the final result.

Closes #5637
Closes #5416
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.