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) Error on search note. as keyword #2889

Closed
Nriver opened this issue Jun 1, 2022 · 1 comment
Closed

(Bug report) Error on search note. as keyword #2889

Nriver opened this issue Jun 1, 2022 · 1 comment

Comments

@Nriver
Copy link
Contributor

Nriver commented Jun 1, 2022

Trilium Version

0.51.2

What operating system are you using?

Other Linux

What is your setup?

Local + server sync

Operating System Version

Manjaro

Description

Open desktop client and just search for note. in quick search.

Got error message.

Error when calling GET /api/quick-search/note.: 500 - Cannot read properties of undefined (reading 'token')

Also happens in browser.

I was writing some backend js and try to find some example to manipulate the note object and got this. (BTW search note\. works).

@zadam
Copy link
Owner

zadam commented Jun 2, 2022

note. is a "special" prefix since it provides access to e.g. note.dateCreated properties for comparison etc. But the error should surely be more explanatory ...

@zadam zadam closed this as completed in 0a4f419 Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants