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

remove filter by slug key #274

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

penina-nyt
Copy link
Collaborator

@penina-nyt penina-nyt commented Jun 9, 2021

Description of Change

We had a bug where any document that shared a name with the parent folder was not visible in the document tree. We were filtering by the slug, which was the same as the parent. We removed this filter, and the child items are now visible.

Related Issue

#253

Motivation and Context

First reported by @jessie-wu-nyt in #library-contributors slack channel

Checklist

  • Ran npm run lint and updated code style accordingly
  • npm run test passes
  • PR has a description and all contributors/stakeholder are noted/cc'ed
  • tests are updated and/or added to cover new code
  • relevant documentation is changed and/or added

@afischer
Copy link
Member

@penina-nyt this looks great! Sorry about the big delay on a review here. Happy to merge as soon as tests pass, and happy to help with those if that would be helpful!

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.

Documents with the same name as their parent folder do not display in children list
2 participants