This issue is related to #998494: Node Reference field always displaying 10 results when using the Advanced View option. [views-6.x-3.x] but not really a duplicate since it has a different fix than this issue.

What I have traced is that whenever you have an advanced view setup using the none pager, views incorrectly limits the view to the default 10 results. Here is an export of a view doing this: http://drupal.org/files/issues/view_noderef.txt.

The cause for this is because the views_plugin_pager_none is not defaulting the items_per_page to 0, which I think it should.

Patch to follow...

CommentFileSizeAuthor
#1 1243436-views_pager_none_limit-2.patch734 bytestravist

Comments

travist’s picture

StatusFileSize
new734 bytes

Here is the patch.

travist’s picture

Status: Active » Needs review
dawehner’s picture

Status: Needs review » Needs work
+++ b/plugins/views_plugin_pager_none.incundefined
@@ -6,6 +6,14 @@
+  ¶

Could you try to remove this whitespace at the end of lines?

+++ b/plugins/views_plugin_pager_none.incundefined
@@ -6,6 +6,14 @@
+    $this->view->set_items_per_page(0);

It should better use $this->set_items_per_page as this seems to make more sense.

dawehner’s picture

Status: Needs work » Fixed

Changed this and commited to 6.x-3.x and 7.x-3.x

Status: Fixed » Closed (fixed)

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