Go to this link: http://drupal.org/node/70145#comment-928042
As a small note to dynamic filters, for example:
<?php$my_view = views_get_view('my_name');$my_view->filter[1]['value'] = 1;$my_view->is_cacheable = 0;?>
Always use <?php $my_view->is_cacheable = 0;?> after adding filters, fields, arguments or anything dynamically to a view.
<?php $my_view->is_cacheable = 0;?>
As a small note to dynamic filters, for example:
<?php$my_view = views_get_view('my_name');
$my_view->filter[1]['value'] = 1;
$my_view->is_cacheable = 0;
?>
Always use
<?php $my_view->is_cacheable = 0;?>after adding filters, fields, arguments or anything dynamically to a view.Post new comment