Hi guys,
Once I enable cache, with selective views turned up, pager stops working and I get a very long page.
I have 100s of nodes, so this is kind of a big problem.
Thanks for your time


BManuel’s picture

I mean views cache

BManuel’s picture

Please could you give me direction on how to fix?

Sutharsan’s picture

Check this issue: #550962: Caching query results but not rendered output breaks pager and double check if this issue is related to Views Hacks module.

tobiberlin’s picture


I face this issue as well... it is not related to the linked issue as it appears when I select to cache the output as well. As soon as I offer an selective exposed filter no pager appears but all the results of the view.


infojunkie’s picture

I wasn't able to reproduce this. I just enabled the time-based cache to 1 hour/1 hour, but the pager was still on. I'm using Views 6.x-1.12.

Please try this: in views_filters_selective.module, please add the following lines:

    $view->display_handler->set_option('cache', array(
      'type' => 'none',

right after line approx 68:

$view->display_handler->set_option('distinct', FALSE);

This should disable the cache from the cloned view. Any difference?

tobiberlin’s picture

Ok this did it for me!!!!

infojunkie’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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