Skip to content

Query builder: weird trails are added to queries #10264

@memeplex

Description

@memeplex

Search first

  • I searched and no similar issues were found

What Happened?

When adding more than one clause a weird trailing sequence is included in the produced query.

Reproduce the Bug

  1. Type /query
  2. Press +
  3. Select Full text search
  4. Type foo
  5. Press + again
  6. Select Full text search again
  7. Type bar
  8. Produced query -> {query (and "foo" "bar")"foo"}}

Expected Behavior

The trailing "foo" shouldn't be there.

Screenshots

No response

Desktop or Mobile Platform Information

macOS 13.2
Logseq 0.9.18

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.

  • I'm willing to submit a PR (Thank you!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions