Closed (fixed)
Project:
Views (for Drupal 7)
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Jun 2006 at 10:31 UTC
Updated:
7 Jul 2006 at 23:45 UTC
Would it be possible to increase the value limit for the number of nodes to display on a page view? Currently the largest value that can be entered is 99. This seems too restictive, but maybe there's a solid reason for that restriction. Also, robertDouglass was wondering if a setting could be created that would allow an unlimited number of nodes to display. (ref our conversation)
Comments
Comment #1
merlinofchaos commented99 is too restrictive; if you need more, alter the database slightly by making the nodes_per_page column bigger. I probably ought to just patch that.
Unless Im mistaken, you should be able to enter 0 for no restrictions.
Comment #2
KSA213755 commentedAccording to the help text on the page view input form, a value of 0 will result in no nodes being displayed. I tried it and there weren't any nodes displayed, just an error message about the value being 0.
If I understand correctly, the entry for Type in nodes_per_page of the view_view table should be changed from int(2) to int(3) to allow up to 999 nodes; int(4) to allow up to 9999 nodes, etc. Lines 756 & 757 (I put the code snippet below) of the views_ui table also have to be edited to permit insertion of a larger number in the form. I tried it out and it works just fine. Thanks.
Comment #3
merlinofchaos commentedfixed, checked in
Comment #4
(not verified) commented