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

Tags within in some objects (e.g. data blocks, headers ) are not shown in queries for tag #1178

Open
zeus-web opened this issue Dec 9, 2024 · 1 comment

Comments

@zeus-web
Copy link

zeus-web commented Dec 9, 2024

Hi,

I just encountered some behavior, which I think could be a bug - or I misunderstand the feature :-)

According to the documentation, I should be able to add tags to objects (data block) like this:

´´´#person
name: Pete
age: 55
tags: one, two
´´´

I was hoping to get all tags listed, if I query for tag, like it works for tags in items for example.
But I get no result:

´´´query
tag where name= "one"
´´´

On the other hand, I do find the "person" that has the tags assigned:

´´´query
person where tags =~ /one/
´´´

However, that has strange behaviour, too. Look at the itags column. There are single letters listed as itags? Makes no sense to me...

ref tag name age tags pos page itags
test@933 person Pete 55 one, two 933 test person, o, n, e, ,, , t, w

Playing around a bit, I realized, that the first issue applies to other objects, too:
Example paragraph #two
I can query fine for paragraph where tag =~ /two/ , but querying for tag where name =~ /two/ gives no result.

Not sure, if that is by accident or by design :-)

@mjf
Copy link

mjf commented Dec 10, 2024

Somewhat related discussion proving that tags in paragraps are assigned to pages and some other findings...

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

No branches or pull requests

3 participants
@mjf @zeus-web and others