Skip to content

fix(web): count the same videos the dashboard lists - #2818

Merged
richiemcilroy merged 2 commits into
CapSoftware:mainfrom
yashranaway:fix/dashboard-pagination-counts
Oct 22, 2026
Merged

richiemcilroy merged 2 commits into
CapSoftware:mainfrom
yashranaway:fix/dashboard-pagination-counts

Conversation

@yashranaway

@yashranaway yashranaway commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

the dashboard's page count came from a separate count query that didn't pick the same videos as the list. my caps counted videos that live inside folders even though the list only shows ones outside folders, and the organization caps page checked the video's personal folder instead of the folder it was shared into. so after moving videos into folders the totals and page numbers were off, with empty trailing pages.

now each count uses the same folder filter as its list. two one line filter changes, with tests that run the real page loaders and check the generated queries.

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge; both count changes match their lists’ folder filters.

Summary

The PR fixes folder filters in dashboard pagination counts.

  • Personal and organization Caps pages count the root-level entries they list.

Reviews (1) · Last reviewed commit: "fix(web): match dashboard pagination cou..." · Reviewed by Greptile

@yashranaway

Copy link
Copy Markdown
Contributor Author

@greptileai review

@vercel

vercel Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
cap-status Skipped Skipped Oct 22, 2026 6:16am UTC

@vercel
vercel Bot temporarily deployed to Preview – cap-status October 21, 2026 11:43 Inactive
@richiemcilroy

Copy link
Copy Markdown
Member

@greptileai review

@vercel
vercel Bot temporarily deployed to Preview – cap-status October 22, 2026 06:16 Inactive
@richiemcilroy
richiemcilroy merged commit 194b0ec into CapSoftware:main Oct 22, 2026
29 of 30 checks passed

This branch was previously deployed

1 inactive deployment
Preview – cap-status — 56de1764 Deployed Oct 22, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants