There are a number of questions relating to this issue. I'm interested in a general explanation so I can troubleshoot why my complex (contextual filters, relationships, etc) view preview would be working as expected while the view block shows different results.

What exactly is being run for the preview compared to the normal display of the view? What happens 'after' the preview, or are these different paths/processes/methods/hooks altogether?

  • 1
    The them layer is the most likely culprit: in the preview you are probably running under an administration theme: your site theme could be doing any number of things that would alter output. Have you tried switching site theme to Bartik, to see if that makes a difference? – Alfred Armstrong Nov 30 '15 at 13:23

If aggregation is enabled and query settings distinct and/or pure distinct as well with flags relationships, I experienced differences in what the preview was showing and what showed in the actual block/page version. The solution for me was disabling the distinct option.


Your issue is likely related to the contextual filter. If the data you are supplying to the preview doesn't match the data provided from the url, etc. then the results will differ.

  • Isn't that what the 'Preview with contextual filters' box is for? – digitgopher Nov 11 '15 at 0:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.