Can I compare a frontmatter key from one note with a key in another? #1791
Unanswered
ReaderGuy42
asked this question in
Q&A
Replies: 1 comment
-
I had been looking at the documentation, but only now found what I was looking for. I'll leave this up for others who might be looking for this: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So I have one note for a book, which includes the frontmatter:
and another note for the author, which includes the name:
Now in the author note, I want a Query to list/table all the books of that author.
So far I've got this (thanks to someone on the Forum):
This works if the name of the author file is exactly the value of the Author field in the book note, and the book note
Author
field is formatted like"[[Stephen King]]"
.However, I'd prefer to have the author notes be lastname-firstname so it's easier to alphabetize.
So is it possible somehow to compare the two keys in the different notes and if the values are the same list the note, e.g.
WHERE Author = this.file.Name
or something like that? Is this possible?Thanks :)
Beta Was this translation helpful? Give feedback.
All reactions