Hi,

I just had the problem with userreference.
My field can have unlimited values and the users are based on a view (views 3).
With these settings and more than 10 values my field did not validate any more.
I backtraced the problem to _userreference_potential_references_views()
So I changed

<?php
    // Limit result set size.
    $limit = isset($limit) ? $limit : 0;
    $view->display_handler->set_option('items_per_page', $limit);
?>

to

<?php
    // Limit result set size.
    if (isset($limit))
      $view->display_handler->set_option('items_per_page', $limit);
    else
      $view->display_handler->set_option('pager', array('type' => 'none'));
?>

I can create a patch but first I wanted to hear what you think about this as I don't know if this is a views 2 - views 3 issue or if there is just something wrong with my configuration.

Thanks,
sb

Comments

mostou’s picture

Check out patch at http://drupal.org/node/1065128#comment-4637664 - the patch worked for me with Views 6.x-3.0-rc2 and CCK 6.x-3.0-alpha3

mostou’s picture