Skip to content

[BUG][UI]: Pagination controls break when search/filter returns results with query parameters #3039

@marekdano

Description

@marekdano

🐞 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, ...)

Image

🧩 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

  1. Go to http://localhost:8080/admin/
  2. Set pagination per page to 10
  3. Filter the items that you know will return at least 11 items e.g. tools table
  4. 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.
⚠️ Do not paste secrets, credentials, or tokens.


🧠 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.

Metadata

Metadata

Assignees

Labels

MUSTP1: Non-negotiable, critical requirements without which the product is non-functional or unsafebugSomething isn't workinggood first issueGood for newcomersuiUser Interface

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions