Mobile app version of vmapp.org
Login or Join
Tiffany637

: Why does a basic Drupal view return no results I am starting out with views and I wrote an extremely simple view which really just filters if the node is published and if it is of type

@Tiffany637

Posted in: #Drupal

I am starting out with views and I wrote an extremely simple view which really just filters if the node is published and if it is of type banner. In preview and when I try to print the view I get no results. When I search through my content and filter by type banner and published, I get 3 results (in /content/node/overview). I must be doing something basic and stupid, any suggestions for how I can figure out what I have done wrong?

View: www.randomcrapilike.com/test/view_capture.jpg
Content Search: www.randomcrapilike.com/test/contentsearch.jpg

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Tiffany637

1 Comments

Sorted by latest first Latest Oldest Best

 

@Tiffany637

From bouncing around a few mailing lists and playing around I have found out that sometimes a view preview will not work with just the default display. If you notice it not working, try adding a new display. Another thing I tried was to just adding and removing comment fields and it magically began working.

In the future I will and I suggest to anyone that has a similar problem:


Add a new display, see if that resolves it, If it does not:
Recreate the view with just one filter and one field, get that to work and add complexity until you find where it breaks.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme