Column tag filter works only per page instead of across entire table
Affected module Does it impact the UI, backend or Ingestion Framework? UI
Describe the bug I have applied classification tags at the column level for a table that contains approximately 80 columns. These columns are paginated in the UI:
Page 1: First 50 columns Page 2: Remaining ~30 columns
When I use the column filtering icon to filter columns by a specific tag, the filter appears to work only on the currently visible page. For example: If I apply the tag filter while on Page 1, only matching columns from Page 1 are shown. Columns on Page 2 that have the same tag are not displayed unless I manually navigate to that page and reapply or view the filter there.
To Reproduce
Screenshots or steps to reproduce
Expected behavior The column tag filter should work across the entire table, returning all columns that match the selected tag, regardless of pagination.
Version:
- OS: [e.g. iOS]
- Python version:
- OpenMetadata version: [e.g. 0.8]
- OpenMetadata Ingestion package version: [e.g.
openmetadata-ingestion[docker]==XYZ]
Additional context Slack reference-https://openmetadata.slack.com/archives/C02B6955S4S/p1766398625809029
Hi @nikhilchennam! I'd like to tackle this bug — could you assign it to me? Thanks!
Hi @nikhilchennam! I'd like to tackle this bug — could you assign it to me? Thanks!
Hi @pmbrull @harshach @PubChimps , I reviewed this and confirmed it’s a valid issue.
Current behavior:
- Columns are paginated from API.
- Tag filter is applied only on currently loaded rows in current page.
- So matches on other pages are missed.
Proposed fix:
- Move tag filtering to server-side (apply filter before pagination).
- Keep pagination/sorting/search behavior unchanged.
- Reset to page 1 when tag filter changes.
Validation:
- Reproduce with a table having >1 page of columns and same tag across pages.
- Verify filtered results include matches from all pages.
- Add backend + UI tests for filtered total and pagination behavior.
If this approach sounds good, I can start implementing it and open my first PR soon.
Could you plz also assign this issue to me ?
can i try to fix it
Hi @nikhilchennam @harshach 👋 I'd like to work on this issue.
My approach: Fix the column tag filter to work across all pages by fetching all columns lazily (only when the filter dropdown opens) and caching filtered results client-side — no extra API calls on every page change, and no backend modifications needed.
Requesting assignment. Would love to raise a PR shortly!
No, thats the right wya of doing, you need to delegate teh call to pagination and ColumnResource API to apply this ordering at the API level not on the UI
No, thats the right wya of doing, you need to delegate teh call to pagination and ColumnResource API to apply this ordering at the API level not on the UI
Thank you @harshach! Understood — will implement the tag filtering at the ColumnResource API level and delegate pagination to the backend. Working on it now! 🙏
Hi @mohitjeswani01 thanks for asking, we had @david-mamani asked to be assigned to this issue first, so I have assigned him.
@david-mamani is this still something you'd like to work on? If so, we need you to provide a screen recording in your PR. Please make sure to verify with us that your are working on this issue, and build and test your code that it is solving this issue before submitting a PR
Hi @PubChimps thanks for the update! I'm already working on the fix — implementing tag filtering at the ColumnResource API level as suggested by @harshach. Will include a screen recording in the PR. May I continue if possible ? 🙏
Hi @mohitjeswani01 thanks for asking, we had @david-mamani asked to be assigned to this issue first, so I have assigned him.
@david-mamani is this still something you'd like to work on? If so, we need you to provide a screen recording in your PR. Please make sure to verify with us that your are working on this issue, and build and test your code that it is solving this issue before submitting a PR
Hi @PubChimps! Yes, absolutely — I'm actively working on this. I'm in the final testing phase locally and will submit my PR within the next 24 hours, including the screen recording as requested. Thank you for keeping the assignment!
Hi @PubChimps and @harshach !
I've just opened PR #27334 with the fix for this issue.
As requested, the tag filtering is now properly delegated to the ColumnResource API level instead of the UI, and the PR includes the complete screen recording demonstrating the fix.
Looking forward to your review! Let me know if any changes are needed.
Thank you @david-mamani
Thank you to everyone for you interest in this issue but we will not be accepting new pr's for this issue at this time
As discussed with @sonika-shah, she will review the PR for the backend changes. If everything looks good, we will merge the PR; otherwise, a new PR will be created to address the required changes.
@Rohit0301 any progress here? Let's review the PR and close it out.
@aniketkatkar97 review is pending from the @sonika-shah side