Skip to content
This repository has been archived by the owner on Apr 9, 2021. It is now read-only.

Nodes not displayed in queries if parent(s) satifisy {not: } conditions #339

Open
alaq opened this issue Jun 12, 2020 · 1 comment
Open
Labels
bug Something isn't working

Comments

@alaq
Copy link

alaq commented Jun 12, 2020

If you're using a query to display every node that have a certain tag, let's call it [[RandomTag]] but you're hiding the [[DONE]] ones, your query would be: {{[[query]]: {and: [[RandomTag]] {not: [[DONE]] }} }}
However, if a DONE node has a child node which has the same tag, it will not be shown in the query, as if the child node is inheriting the parent's attributes.

roam-query-issue

To see it happening, here is a link to a read-only page

I am not sure if this constitutes a bug but this is confusing for the user who may expect to see the child nodes in the query

System Information:

  • Roam version: 0.6.2-f8f8ea57
  • Device: all
  • OS: all
  • Browser: all
@alaq alaq added the bug Something isn't working label Jun 12, 2020
@Awannaphasch2016
Copy link

I don't think this is a bug. Children block inherited Parent's tags as its own.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants