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

Bug report: Links used in properties are not recognized by Dataview? #2019

Closed
aravindk100 opened this issue Aug 14, 2023 · 4 comments · Fixed by #2030
Closed

Bug report: Links used in properties are not recognized by Dataview? #2019

aravindk100 opened this issue Aug 14, 2023 · 4 comments · Fixed by #2030
Labels
bug Something isn't working.

Comments

@aravindk100
Copy link

What happened?

When I use inline dataview variable, Dataview query can find those links using inlinks, outlinks or direct match but when I use the new properties and links in the new properties, dataview cannot match against those links. Using links in properties is a newly enabled capability, so not sure if that broke some existing assumptions.

DQL

TABLE type, status
WHERE goal = this.file.link OR contains(file.outlinks, this.file.link) OR contains(file.inlinks, this.file.link) OR project = this.file.name
sort type DESC, status DESC

JS

No response

Dataview Version

0.5.56

Obsidian Version

1.4.3

OS

Windows

@aravindk100 aravindk100 added the bug Something isn't working. label Aug 14, 2023
@AB1908
Copy link
Collaborator

AB1908 commented Aug 14, 2023

We haven't really looked at any insider updates as the author has been working on datacore (successor plugin). I'm busy with my own plugin too, as much as I've love to support my favorite plugin. I don't know the level of backcompat blacksmithgu is aiming for but let's wait for his first release to see if we'd need this.

@aravindk100
Copy link
Author

Thanks for all the work and appreciate the response. Will stick with inline variable until this is supported I guess.

@rocketnova
Copy link
Contributor

I opened PR #2030 with a potential fix for this issue. I could use some help testing it out if anyone is up for it.

@aravindk100
Copy link
Author

@rocketnova Do you know if your fix is still working? I am on version 0.5.67 and I noticed tha tfile.outlinks is working (WHERE contains(file.outlinks, this.file.link)) but it does not work when I check on the property directly (WHERE project = this.file.link).

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

Successfully merging a pull request may close this issue.

3 participants