Skip to content

[CD]: Send ensure Query Param to Preserve ContentType Filter #33152

Closed

Description

@rjvelazco

Task

Update the Content Drive frontend to send the ensure query parameter when requesting /api/v1/contenttype. This will guarantee that content types selected in filters (e.g., Activity, Blog, Product) are always included in the response, even if they fall outside the default pagination.

This ticket is blocked by: #33149

Steps to Reproduce

  1. In Content Drive, select filters for content types not included in the first 40 results (e.g., Activity, Blog, Product).
  2. Copy and share the URL containing the filters.
  3. Reload the page or open the link in another browser.
  4. Notice that filters are not restored because those content types are missing in the response.

Acceptance Criteria

  • Frontend must send /api/v1/contenttype?ensure=Activity,Blog,Product when filters reference content types not in the first page.
  • Ensure all selected content types are present in the response so that filters restore correctly.
  • Verify behavior works when sharing or reloading URLs with filters.
  • Add tests for scenarios where selected content types are not part of the first paginated results.

dotCMS Version

main / trunk

Proposed Objective

User Experience / Data Integrity

Proposed Priority

Priority 2 – Important

Activity

  1. added theissue type on Sep 1, 2025
  2. changed the title [-][Content Drive]: Send `ensure` Query Param to Preserve ContentType Filter[/-] [+][CD]: Send `ensure` Query Param to Preserve ContentType Filter[/+] on Sep 1, 2025
  3. moved this from New to Next 2-4 Sprints in dotCMS - Product Planningon Sep 1, 2025
  4. changed the issue type fromtoon Sep 10, 2025
  5. moved this from Next 2-4 Sprints to Current Sprint Backlog in dotCMS - Product Planningon Sep 26, 2025
  6. moved this from Current Sprint Backlog to In Progress in dotCMS - Product Planningon Oct 9, 2025
  7. github-actions commented on Oct 14, 2025

    @github-actions
    Contributor
  8. added a commit that references this issue on Oct 15, 2025
    412b2ca
  9. removed their assignment
    on Oct 16, 2025
  10. rjvelazco commented on Oct 16, 2025

    @rjvelazco
    MemberAuthor

    Passed QA

    • dotCMS Docker Image: [dotcms/dotcms:trunk_b71d1ac]

    Video

    video.mov
  11. moved this from Done to In Review in dotCMS - Product Planningon Oct 16, 2025
  12. moved this from In Review to Done in dotCMS - Product Planningon Oct 16, 2025
  13. added a commit that references this issue on Dec 9, 2025
    c653149
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions