Query based ContentPicker

Topics: Core
Nov 28, 2012 at 5:57 PM
Edited Nov 28, 2012 at 6:04 PM

As per this work item I've created a fork that contains a single module called Orchard.QueryPicker.

It is based directly on ContentPicker but allows you to configure a Query to restrict selectable content items to. I'm going to be using this extensively in an upcoming project, so it will eventually get some field testing. One drawback is that the Search tab is not present, as the ContentPicker relies on your search index, while this is using a sql query.

If anyone has any input on this or how it might be integrated better with the current Projector module, feel free to discuss.

Edit: I just saw Sebastien's reply to me in the original work item. I'll merge the module with the current ContentPicker in another commit.

Nov 28, 2012 at 7:33 PM

I've merged the Query picker functionality into the base ContentPicker module. It now has a dependency on Orchard.Projections.