8000 List filters are single-valued (no __in), and the unassigned filter is undocumented · Issue #21 · iblai/crm · GitHub
[go: up one dir, main page]

Skip to content

List filters are single-valued (no __in), and the unassigned filter is undocumented #21

Open

Description

@mamigot

What the CRM needs

"Deals owned by anyone on my team", "people who are Lead or Qualified", "deals in Proposal or Negotiation", "records with no owner".

What exists (iblai-api-crm → references/schema.md, confirmed filter table)

owner, stage, status, lifecycle_stage, type, source each take one value. Only tags accepts a list (OR semantics). owner__isnull=true is mentioned in the skill's SKILL.md but is not in schema.md's confirmed-filter table, so I could not rely on it.

Where it bites today

Every filter in the toolbars (app/platform/[tenantKey]/people/page.tsx, deals/page.tsx, activities/page.tsx) is a single select. A team view needs one request per team member merged client-side, which breaks pagination.

Proposal

__in (comma-separated) on owner, stage, status, lifecycle_stage, source, type, organization; confirm and document owner__isnull. The platform's user groups / teams could then back a team= filter directly.

Activity

  1. added
    api-gap
    on Sep 23, 2026
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

    api-gap

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0