Skip to content

Don't keep filters:: {} #10304

@memeplex

Description

@memeplex

Search first

  • I searched and no similar issues were found

What Happened?

When I filter linked references and then reset filters again, a block with filters:: {} remains at the top, adding unnecessary noise to the page.

Sometimes it's a grey Properties block, sometimes it actually shows filters:: {} (I've seen this inconsistency before, but I'm not sure how to reproduce it). In any case, the dummy block should be removed altogether.

Reproduce the Bug

  1. Create page A, reference [[B]]
  2. Open B
  3. Filter A in the linked references
  4. Revert the filter
  5. Check that the first block now contains a dummy filters block.

Expected Behavior

Remove metadata that's not necessary.

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/enhancementEnhancement to product. Does not affect the overall basic use.propsProperties

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions