When adding a new View in 7.x-3.x, I tried to set the number of records to 0 (for unlimited) in the initial wizard. I got an error saying I had to choose a positive integer. Also, the field description/help didn't tell me 0 was a possible setting.

So I wondered if this had changed in 3.x as opposed to 2.x, but after setting the number of records to 1000 to get through the initial wizard, I was then able to set the number of records to 0 (for unlimited, as per the field-level help/description in the settings pop-up) from the full View screen.

However, after setting this value, in 6.x-2.x it used to show "unlimited" in the UI when looking at that area of the screen, whereas in 7.x-3.x it shows "0 records", which could be confusing to an inexperienced Views user I would think.

CommentFileSizeAuthor
#4 1277900-wizard-all-items.patch1.15 KBdawehner

Comments

jhodgdon’s picture

And I apologize that I don't have screen shots or the exact version. This came up during our local Drupal meeting last night, as I was walking through setting up a View with another attendee on his site.

merlinofchaos’s picture

I'm pretty sure this is a dup of an existing issue but I can't immediately find it.

jhodgdon’s picture

I searched for "unlimited records" and couldn't find it either, so filed this. Can't think of what else to search for...

dawehner’s picture

Status: Active » Needs review
StatusFileSize
new1.15 KB

You can't find it because the issue is already closed(fixed): #1098480: You can't select "no pager" on the first page of the views create form
I guess you probably used the RC instead of the DEV version, could this be?

But in fact there is a small bug.
If you have 0 it should always be the pager type "none".
Additional this patch improves the readablity of the code.

jhodgdon’s picture

Could be - like I said, I'm not sure of the exact version -- I was looking over the person's shoulder. Sorry for the duplication... I did use the search from the project page (which normally also searches for closed issues)... I guess the word "records" is not on that old issue, so my search for "unlimited records" didn't find it.

dawehner’s picture

I guess the word unlimited isn't availible.

But anyway this should work now :)

dawehner’s picture

Status: Needs review » Fixed

Okay so commited it to 7.x-3.x

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.