Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comments
Comment #1
BManuel CreditAttribution: BManuel commentedI mean views cache
Comment #2
BManuel CreditAttribution: BManuel commentedPlease could you give me direction on how to fix?
Comment #3
Sutharsan CreditAttribution: Sutharsan commentedCheck this issue: #550962: Caching query results but not rendered output breaks pager and double check if this issue is related to Views Hacks module.
Comment #4
tobiberlinHi,
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.
Best,
Tobias
Comment #5
infojunkie CreditAttribution: infojunkie commentedI 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:
right after line approx 68:
This should disable the cache from the cloned view. Any difference?
Comment #6
tobiberlinOk this did it for me!!!!
Comment #7
infojunkie CreditAttribution: infojunkie commentedCommitted fix in #5 to dev version.