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

Negative search doesn't work properly #3

Open
wrvsrx opened this issue Jul 19, 2022 · 0 comments
Open

Negative search doesn't work properly #3

wrvsrx opened this issue Jul 19, 2022 · 0 comments

Comments

@wrvsrx
Copy link

wrvsrx commented Jul 19, 2022

Description

Negative search works incorrectly when search starts with a negative search.

Reproduce

  1. Create a small repo with only one note

    ---
    title: duw
    tags: [test]
    ---
    There is no content
  2. Type -content in search box

  3. The note appears in search result.

Analysis

However, typing duw -content in search box works correctly. It seems that this bug only happens when a search starts with a negative search.

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

1 participant