Search notes with a null or empty attribute value #8480
-
DescriptionNote defines an attribute with the label #label:finish=promoted,single,date. When using the API searchForNotes(query: string, searchParams: SearchParams): BNote[] to search for finish=null or finish='', how should the query parameter be written? If I write #finish=null or #finish='', it fails to return notes. TriliumNext Version0.101.3 What operating system are you using?macOS What is your setup?Local + server sync Operating System VersionmacOS Sonoma 14.7.4 Error logsNo response |
Beta Was this translation helpful? Give feedback.
Answered by
eliandoran
Jan 23, 2026
Replies: 2 comments
This comment has been hidden.
This comment has been hidden.
-
|
To find notes that don't have the This is documented in docs.triliumnotes.org/user-guide/concepts/navigation/search#simple-note-search-examples. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
eliandoran
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To find notes that don't have the
finishlabel:This is documented in docs.triliumnotes.org/user-guide/concepts/navigation/search#simple-note-search-examples.