-
Notifications
You must be signed in to change notification settings - Fork 615
[BUG][UI]: Pagination controls break when search/filter returns results with query parameters #3039
Copy link
Copy link
Labels
MUSTP1: Non-negotiable, critical requirements without which the product is non-functional or unsafeP1: Non-negotiable, critical requirements without which the product is non-functional or unsafebugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomersuiUser InterfaceUser Interface
Milestone
Description
🐞 Bug Summary
There is no pagination displayed when we filter the table items and not all items are listed.
The issue can be seen in all tables (servers, tools, resources, ...)
🧩 Affected Component
Select the area of the project impacted:
-
mcpgateway- API -
mcpgateway- UI (admin panel) -
mcpgateway.wrapper- stdio wrapper - Federation or Transports
- CLI, Makefiles, or shell scripts
- Container setup (Docker/Podman/Compose)
- Other (explain below)
🔁 Steps to Reproduce
- Go to http://localhost:8080/admin/
- Set pagination per page to 10
- Filter the items that you know will return at least 11 items e.g. tools table
- Observe that the total filtered items are 14, but 10 items are displayed only and no pagination
🤔 Expected Behavior
When more than "per page" filtered items are returned, those items should be displayed with a pagination section at the bottom of the table.
📓 Logs / Error Output
Paste any relevant stack traces or logs here.
🧠 Environment Info
You can retrieve most of this from the /version endpoint.
| Key | Value |
|---|---|
| Version or commit | latest |
| Runtime | Python 3.12 |
| Platform / OS | macOS |
| Container | Docker |
🧩 Additional Context (optional)
Add any configuration details, flags, or related issues.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
MUSTP1: Non-negotiable, critical requirements without which the product is non-functional or unsafeP1: Non-negotiable, critical requirements without which the product is non-functional or unsafebugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomersuiUser InterfaceUser Interface