[GH-ISSUE #3159] Resource list is capped at 20 items #39121

Closed
opened 2026-06-22 02:57:51 -05:00 by GiteaMirror · 9 comments
Owner

Originally created by @kiliankoe on GitHub (May 26, 2026).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/3159

Describe the Bug

Hi, I've run into the issue that my list of resources is capped at 20 items. I have 32 resources, all are accessible and function just fine, I can also access their detail pages by manually building the URL with their respective niceId. Only the first 20 items are however shown in the list of resources (no matter the pagination settings).

Strace of the pangolin process while visiting /main/settings/resources/proxy?page=1&pageSize=100 confirms the request sent to the API is literally GET /api/v1/org/main/resources HTTP/1.1 with no query string at all. Calling the API directly with the same cookie and ?pageSize=100 returns all 32 rows correctly, so the bug appears to only be in the frontend.

This also breaks the per-table search input (the typed query never reaches the API on first render) and any URL-based filters like ?siteId=. Resources that sort past row 20 can still be opened via their niceId URL but are otherwise invisible.

Environment

  • OS Type & Version: NixOS 26.05 (build 26.05.20260515.d233902)
  • Pangolin Version: 1.18.3
  • Gerbil Version: 1.4.0
  • Traefik Version: 3.7.0
  • Newt Version: N/A
  • Olm Version: N/A

To Reproduce

  1. On an org with more than 20 resources, visit /{orgId}/settings/resources/proxy?page=1&pageSize=100
  2. Observe that only 20 rows are shown and pagination reports total=20.
  3. Type the name of a resource alphabetically past the first 20 into the table's search input. It isn't found.
  4. Hit the API directly with the same cookie:
    curl ".../api/v1/org/{orgId}/resources?page=1&pageSize=100" -H "Cookie: p_session_token=..."
    and confirm it returns all rows. The mismatch isolates the bug to the SSR page.

Expected Behavior

The SSR list page should forward URL query parameters (page, pageSize, query, siteId, …) to the internal API call, so the table reflects the requested page size and filter, and the search input can find any resource the user has access to.

Originally created by @kiliankoe on GitHub (May 26, 2026). Original GitHub issue: https://github.com/fosrl/pangolin/issues/3159 ### Describe the Bug Hi, I've run into the issue that my list of resources is capped at 20 items. I have 32 resources, all are accessible and function just fine, I can also access their detail pages by manually building the URL with their respective `niceId`. Only the first 20 items are however shown in the list of resources (no matter the pagination settings). Strace of the pangolin process while visiting `/main/settings/resources/proxy?page=1&pageSize=100` confirms the request sent to the API is literally `GET /api/v1/org/main/resources HTTP/1.1` with no query string at all. Calling the API directly with the same cookie and `?pageSize=100` returns all 32 rows correctly, so the bug appears to only be in the frontend. This also breaks the per-table search input (the typed query never reaches the API on first render) and any URL-based filters like `?siteId=`. Resources that sort past row 20 can still be opened via their `niceId` URL but are otherwise invisible. ### Environment - OS Type & Version: NixOS 26.05 (build 26.05.20260515.d233902) - Pangolin Version: 1.18.3 - Gerbil Version: 1.4.0 - Traefik Version: 3.7.0 - Newt Version: N/A - Olm Version: N/A ### To Reproduce 1. On an org with more than 20 resources, visit `/{orgId}/settings/resources/proxy?page=1&pageSize=100` 2. Observe that only 20 rows are shown and pagination reports total=20. 3. Type the name of a resource alphabetically past the first 20 into the table's search input. It isn't found. 4. Hit the API directly with the same cookie: `curl ".../api/v1/org/{orgId}/resources?page=1&pageSize=100" -H "Cookie: p_session_token=..."` and confirm it returns all rows. The mismatch isolates the bug to the SSR page. ### Expected Behavior The SSR list page should forward URL query parameters (page, pageSize, query, siteId, …) to the internal API call, so the table reflects the requested page size and filter, and the search input can find any resource the user has access to.
Author
Owner

@AstralDestiny commented on GitHub (May 26, 2026):

Update first please

<!-- gh-comment-id:4546566791 --> @AstralDestiny commented on GitHub (May 26, 2026): Update first please
Author
Owner

@kiliankoe commented on GitHub (May 26, 2026):

Ah, update to 1.18.4? Sure, I will 👍

<!-- gh-comment-id:4546802195 --> @kiliankoe commented on GitHub (May 26, 2026): Ah, update to 1.18.4? Sure, I will 👍
Author
Owner

@AstralDestiny commented on GitHub (May 26, 2026):

We are on 1.18.4 right now for versions so it might be fixed in .4 I don't have the issue myself and I'm in 1.18.4 so please update first, sorry responding via phone at the moment

<!-- gh-comment-id:4547109122 --> @AstralDestiny commented on GitHub (May 26, 2026): We are on 1.18.4 right now for versions so it might be fixed in .4 I don't have the issue myself and I'm in 1.18.4 so please update first, sorry responding via phone at the moment
Author
Owner

@AstralDestiny commented on GitHub (May 26, 2026):

Hmm guess I need to update my discord bridge to reflect edits

<!-- gh-comment-id:4547114900 --> @AstralDestiny commented on GitHub (May 26, 2026): Hmm guess I need to update my discord bridge to reflect edits
Author
Owner

@kiliankoe commented on GitHub (May 26, 2026):

Interesting, I'll wait for https://github.com/NixOS/nixpkgs/pull/524531 and try 1.18.4!

<!-- gh-comment-id:4547585131 --> @kiliankoe commented on GitHub (May 26, 2026): Interesting, I'll wait for https://github.com/NixOS/nixpkgs/pull/524531 and try 1.18.4!
Author
Owner

@LaurenceJJones commented on GitHub (May 29, 2026):

Interesting, I'll wait for NixOS/nixpkgs#524531 and try 1.18.4!

Dont know nixos too much, seems to be merged any updates?

<!-- gh-comment-id:4576211418 --> @LaurenceJJones commented on GitHub (May 29, 2026): > Interesting, I'll wait for [NixOS/nixpkgs#524531](https://github.com/NixOS/nixpkgs/pull/524531) and try 1.18.4! Dont know nixos too much, seems to be merged any updates?
Author
Owner

@AstralDestiny commented on GitHub (May 29, 2026):

Think of nixos if you wanted to use terraform but for a host but also wanted everything to be mostly bare @LaurenceJJones

<!-- gh-comment-id:4579616461 --> @AstralDestiny commented on GitHub (May 29, 2026): Think of nixos if you wanted to use terraform but for a host but also wanted everything to be mostly bare @LaurenceJJones
Author
Owner

@kiliankoe commented on GitHub (May 29, 2026):

Sorry, I could've updated earlier, but thought it would be nice to wait until the nixpkgs PR propagates. I just manually went to 1.18.4, but unfortunately the behavior is still unchanged. I can only see the first 20 items in my list of public resources.

<!-- gh-comment-id:4579837736 --> @kiliankoe commented on GitHub (May 29, 2026): Sorry, I could've updated earlier, but thought it would be nice to wait until the nixpkgs PR propagates. I just manually went to 1.18.4, but unfortunately the behavior is still unchanged. I can only see the first 20 items in my list of public resources.
Author
Owner

@kiliankoe commented on GitHub (May 29, 2026):

Ugh, I played around a bit more and my initial assumption was completely off. My setup got a frozen .next dir which was stuck on a version from February. This was never an issue within pangolin itself, sorry for the noise.

I'll figure out if this is just my config or with how pangolin is packaged for NixOS.

Thank you though for this amazing piece of software, it's been making my entire setup much easier and more enjoyable for a while now!

<!-- gh-comment-id:4580402759 --> @kiliankoe commented on GitHub (May 29, 2026): Ugh, I played around a bit more and my initial assumption was completely off. My setup got a frozen `.next` dir which was stuck on a version from February. This was never an issue within pangolin itself, sorry for the noise. I'll figure out if this is just my config or with how pangolin is packaged for NixOS. Thank you though for this amazing piece of software, it's been making my entire setup much easier and more enjoyable for a while now!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#39121