Simple query problem

Topics: Customizing Orchard
Mar 2, 2013 at 6:53 PM

I'm trying to create a simple query of a new content type that I create. The content type is simply there to hold a list of fields.

So, I create a content type, add the containable part and add 4 fields (all text fields). Then I create 2 content items.

Then I create a new query with a filter for that content item. No sort or layout. When I try to preview the query I get 'Query returned no results'

My question is, what parts does a custom content type need to have in order to be queryable?


Mar 2, 2013 at 10:42 PM
Found my problem.

Items don't show up in queries unless they've been published.