Skip to content

Bug - Media Library - Search fails when element not in first loaded set of entries #1488

Closed

Description

@kodster28

Description

Related to #1288, the media search seems constrained by the speed of loading a new set of 100 entries.

i.e., you can load a new set of entries, but the loading takes quite a bit of time.

This limitation also affects the search, meaning that searches for nested entries take quite a bit of time (1 min + in my testing).

Screen.Recording.2026-06-15.at.8.26.37.AM.mov

Steps to reproduce

  1. Create a media library with a lot of entries.
  2. Add a new entry on a post.
  3. Search for an older entry (that's out of the first 100).

Environment

  • emdash: 0.19.0
  • Cloudflare Workers
  • MacOS / Chrome

Logs / error output

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions