-22

When viewing question lists there are several options down the bottom to view 15, 30 or 50 records per page.

If the user enters some other number it still works. I entered 1 at the end of the query string and it worked (showing only one record).

https://stackoverflow.com/questions/tagged/c%23?sort=newest&pagesize=1

If this is an intentional "feature" it's insane.

31
  • 12
    "Doctor, it hurts when I do this!" "Then stop doing it" Commented Jan 24, 2013 at 5:23
  • @NullUserExceptionอ_อ well there is no such thing, this site is made for helping each other not insulting the members. its our duty to help improve this site. Commented Jan 24, 2013 at 5:26
  • 6
    @AtifImtiaz How am I insulting you? I'm pointing out that you deliberately changed a parameter, causing the observed behavior. I fail to see the problem here. Commented Jan 24, 2013 at 5:29
  • 2
    What about it makes it a "bug?" Apparently we can limit the number of results per page by an arbitrary number... they give us three common options... why is that a problem? Commented Jan 24, 2013 at 5:29
  • 1
    Interesting way to find out how many questions are in a tag.
    – user206222
    Commented Jan 24, 2013 at 5:33
  • 5
    @Atif, why do you think that this restriction should be in place, and merits developer effort to make it so? Commented Jan 24, 2013 at 5:33
  • 6
    @AtifImtiaz How is that a usability issue? Someone who doesn't know they can change the value can still use the default options just fine. Adding a dropdown adds needless clutter to the user interface. Commented Jan 24, 2013 at 5:41
  • 3
    @AtifImtiaz Well, it is what it is. I don't see this as an issue and 8 people agree with me so far. Commented Jan 24, 2013 at 5:46
  • 2
    All I can say is, Atif, you have a long hill to climb if you're asserting that all options exposed through query string parameters must necessarily also be exposed through UI elements, and wish to convince others of that. The rhetoric you're using tells me you find it hard to see the other side of the argument - I encourage you to challenge your assumptions. Commented Jan 24, 2013 at 5:48
  • 8
    If you change the number and it does not return that many results, then it's a bug. But if you enter 77 and it returns 77, then it's as expected
    – random
    Commented Jan 24, 2013 at 5:51
  • 3
    You can only use values from 1 to 50. If you use a value outside this range, it falls back to the last valid option used. So clearly there's validation going on the server side, which means this is almost certainly intentional. cc @doug65536 Commented Jan 24, 2013 at 5:58
  • 9
    There's no "flaw" to be resolved. This is working 100% as intended. Commented Jan 24, 2013 at 6:03
  • 4
    Please, please, please never work in QA. Commented Jan 24, 2013 at 7:08
  • 1
    @AtifImtiaz Don't waste your time. Meta is the right channel and the moderators are most likely as high an "authority" as you're going to get.
    – Bart
    Commented Jan 24, 2013 at 9:02
  • 2
    @AtifImtiaz Maybe because you said this: "perhaps i should talk to someone with right authority to change that." ??? Commented Jan 24, 2013 at 16:51

1 Answer 1

12

If a user wanted to only page through 13 questions at a time, they can do that if they wanted to hack the URL.

If you wanted to page through one question at a time, for whatever reason, you could change the URL to &pagesize=1.

15, 30 and 50 are the default page size options presented. 50 questions is the maximum. You can try and enter a higher number, but you're not going to get past that upper limit.

It is as the good fjord intended.

2
  • 3
    I'd be more happy with 16 questions at a time, since I can find my page by shifting my question index right 4 bits :P
    – doug65536
    Commented Jan 24, 2013 at 6:02
  • and i would be happy with 81723 questions :p Commented Jan 24, 2013 at 6:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .