Getting a list of all nodes where property X has v...
# help-with-umbraco
m
Every content node of my site has two properties, Author and Contributing Authors. I would like to generate a list of the 10 more recently published content nodes where the Author property has value of X and then generate another list where the Contributing Authors node has a value of X. Anyone have suggestions on an efficient way to do this?
Thinking this over I came up with a possible solution and I would love to hear people's thoughts. Create a custom Examin Index that indexs just the two properies I am looking at and core document info needed for display, run a search query against that using LINQ OrderByDescendinging on the Updated Date as well as a Take(10).
5 Views