Posted by BManuel on January 13, 2011 at 9:43am
5 followers
Jump to:
| Project: | Views Hacks |
| Version: | 6.x-1.x-dev |
| Component: | Views Filters Selective |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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
#1
I mean views cache
#2
Please could you give me direction on how to fix?
#3
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.
#4
Hi,
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
#5
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?
#6
Ok this did it for me!!!!
#7
Committed fix in #5 to dev version.
#8
Automatically closed -- issue fixed for 2 weeks with no activity.