curl 'https://lemmy.world/api/v3/community/list?type_=Local&sort=Old&limit=1&page=250000&show_nsfw=true'

Returns a result for page 250,000 - and if you edit that number +1 it still returns the same final item in the list. Does this on all the sorts I tried. I am not getting this behavior on lemm.ee or lemmy.ml

With page limit at 50, it ends up returning the final same list of 50 no matter what page number you increment past the final page. This could be causing some front-end apps to endlessly load the list.

the lemmy-ui interface seems to be having the same problem: https://lemmy.world/communities?listingType=Local&page=250001

  • M-Reimer@lemmy.world
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    11 months ago

    Is this really limited to lemmy.world or is it a general problem with lemmy? If this also happens on other instances, then it should be reported on GitHub.

    • freamon@endlesstalk.org
      link
      fedilink
      English
      arrow-up
      7
      ·
      11 months ago

      I am not getting this behavior on lemm.ee or lemmy.ml

      To quote OP. I also tried it on feddit.nl (which is running 0.18.3), which returns an empty array, as you’d expect. On lemmy-world, the result you get for page 250000 is the same result you get for page 1 (the Fediverse community)