Skip to content

bulk admin: /batches has no definition filter — the console cannot narrow by definition honestly #72

Description

@omercelikdev

GET /goldpath/admin/bulk/batches filters by state and tenant only. An app with several batch definitions therefore shows one mixed list in the console's intake panel, and the panel deliberately does NOT narrow client-side: it would only narrow the take-bounded page the server happened to return, which reads as "no batches" when there are plenty.

Additive fix (the frozen contract allows adding an optional parameter): ?definition= on the list route, mirroring the state filter, with the same tenant scoping.

Found while building the U3 bulk panel (PR #71, review finding R3).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions