Drupal 6 views

A bug in Drupal 6 when using repeat dates and paging in views.

It appears that the paging count only counts the nodes with repeat dates once, therefore when calculating the number of pages it returns the wrong value and the last few items of the view list are missing.

This is a dirty hack but I can’t see any other way at the moment

line 725 of modules/views/include/view.inc

add the following code

$count_query = str_replace("DISTINCT", "", $count_query);

This removes the distinct call.

 

see more here http://drupal.org/node/552804

Leave a Reply

Your email address will not be published. Required fields are marked *

*

* Copy this password:

* Type or paste password here:

10 Spam Comments Blocked so far by Spam Free Wordpress

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>