My views displays a message when the post-processed results are empty using a php field in the header, using drupal_set_message.
When og cache is enabled, the message is only displayed before the cache is hot.
However, it behaves correctly if the message is simply echoed in the field.
Thank you very much for this very effective module.
if($no_relations){
drupal_set_message(t("There are no relations matching the selected filters") , 'warning'); // incorrect
echo t("There are no relations matching the selected filters"); // correct
}
Active
1.0
Code