Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

"Bought, claimed & gifts" chokes on page 21 onwards

A topic by ii111one created Mar 25, 2020 Views: 316 Replies: 5
Viewing posts 1 to 2

"Bought, claimed & gifts" page 21 onwards gives copies of page 20.

(you need > 1000 items in your library to reproduce this. "Free to download or claim" items are handy here, and many but not all can be found at https://itch.io/bundles , https://itch.io/sales or https://itch.io/games/newest/on-sale )

Of course, you will probably not see page numbers for "Bought, claimed & gifts", but rather "infinite scroll" (assuming Javascript is enabled). I first noticed something wrong when the infinite scroll indeed seemed to be infinite - it was in danger of overwhelming my browser. Closer inspection showed that a set of items was repeating, and digging in Developer Tools revealed the JSON the script was fetching - the same result every time saying "page":20 at the start, regardless of the page number requested.

If you don't want to fiddle with Developer Tools, you can see the bug easily in a regular HTML page by disabling Javascript in your browser globally, or just for the itch.io domain, and visiting page 20. Then open the "next page" link at the bottom in a new window or tab. It will be page 21 according to its URL, but notice that it is the same as page 20, and so are all subsequent pages :(

Admin

Thanks for the bug report, there is indeed a limit on the max page number of that part of the site. I didn’t realize people already had libraries with 1000 items in them.

Thanks for the reply. It encourages me to continue reporting bugs - there are plenty :) In fact, the results are further incomplete - some pages give fewer than 50 results, which means some items are getting hidden in another way. Once I have the complete set of pages, I can compare it to my data export, and if all the items are listed in the latter, I can figure out which ones are missing in the former.
Admin (1 edit)

The smaller pages are likely deleted or unpublished projects. With how the pagination is currently implemented, smaller pages will happen and it’s nothing to be concerned with.

I didn’t realize people already had libraries with 1000 items

Desura coped with 1213 items at last count. My Steam library is 10 times that, and all the obvious ways of viewing it still work perfectly.

 Would you please consider fixing it on Itch? I actually paid for 11 of those games directly through your site.
It seems like a quick easy fix - change a "20" to "99999" or whatever.

Admin(+1)

It should load all pages now when scrolling.

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.