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.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 1277900-wizard-all-items.patch | 1.15 KB | dawehner |
Comments
Comment #1
jhodgdonAnd 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.
Comment #2
merlinofchaos commentedI'm pretty sure this is a dup of an existing issue but I can't immediately find it.
Comment #3
jhodgdonI searched for "unlimited records" and couldn't find it either, so filed this. Can't think of what else to search for...
Comment #4
dawehnerYou 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.
Comment #5
jhodgdonCould 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.
Comment #6
dawehnerI guess the word unlimited isn't availible.
But anyway this should work now :)
Comment #7
dawehnerOkay so commited it to 7.x-3.x