chocolatey-community / simple-server

The Chocolatey Simple Server - https://community.chocolatey.org/packages/chocolatey.server
Apache License 2.0
44 stars 17 forks source link

[BUG] ref to next set of packages is off by 50 #60

Open peterbarendse opened 3 years ago

peterbarendse commented 3 years ago

We might have encountered a bug in the Chocolatey.server (Simple).

When you open the package layout ( https://yourchocoserver/chocolatey/Packages) and you have more then 50 packages in your feed, it shows the following link on the 2nd last line

<link rel="next" href=" https://yourchocoserver/chocolatey/Packages?$skip=100" />

As you can see, that link tries to skip the first 100 packages, but only 50 packages are shown.. so we kind of miss out on the 50 packages in between.

Can this be resolved? We would like to use this link rel to create a user friendly overview page for our users.

ferventcoder commented 3 years ago

That could def be a bug. Interesting as it doesn't seem to affect choco and other official tools.

peterbarendse commented 3 years ago

Thanks for your feedback. Can we expect this to be solved any time soon? Otherwise we need to build a workaround ourselves.