It sounds like you have some pretty specific query needs - if you have a small catalog, using the existing methods through the MerchelloHelper and LINQ would probably be the quickest solution.
If you are concerned with performance, you many wind up having to write a quick custom SQL query to either return a Page<Guid> (product keys matching your criteria, ordered how you would like) or think about organizing things with the categories and filters ...
Really need to understand more of what you're trying to do to give a better response.
Search - Sort by custom umbraco document type properties
Regarding the following:
can I sort by my custom umbraco product document type alias properties?
Thank you in advance.
And can I sort by multiple, for example "name, CreateData"?
Thank you
Kind Regards
Hi Simon,
It sounds like you have some pretty specific query needs - if you have a small catalog, using the existing methods through the MerchelloHelper and LINQ would probably be the quickest solution.
If you are concerned with performance, you many wind up having to write a quick custom SQL query to either return a
Page<Guid>
(product keys matching your criteria, ordered how you would like) or think about organizing things with the categories and filters ...Really need to understand more of what you're trying to do to give a better response.
Hi Rusty,
Can you please show a quick example how I can do it with a custom SQL Query?
I would need to order by also a custom property in my product document type.
Thanks in advance
Kind Regards
is working on a reply...