Show only search results from blog where search originated and sort results by Date
I manage multiple blogs under the one umbraco instance (I have multiple sites each with there own blog) and when searching the blog I get posts from all of the different blog instances. It would be good (at least for me) if the searches were limited to the blog that the search was initiated from.
It would also be good if the results were sorted in date order. I have had a quick look at doing this myself but as the search macro uses
(which I cannot seem to find any documentation to see if there is a version that takes a sort parameter) it gets quite difficult as I need to get all of the posts, sort them, then work out which posts should be displayed and then assign them to a list (othewise I just sort the
count items that are returned, and the items that are returned appear to be random). This feels like I am doing a lot of work that the above line does but which I cant use. (I have no idea if PostService.Instance.GetPosts has anything to do with this package) .
Both of these issues have fairly easy workarounds, but it would be nice (at least for me :-) ) if they came out of the box so I didn't need to re-implement them each time I updated the package.
Show only search results from blog where search originated and sort results by Date
I manage multiple blogs under the one umbraco instance (I have multiple sites each with there own blog) and when searching the blog I get posts from all of the different blog instances. It would be good (at least for me) if the searches were limited to the blog that the search was initiated from.
It would also be good if the results were sorted in date order. I have had a quick look at doing this myself but as the search macro uses
PostService.Instance.GetPosts(Model.Id, tag, category, author, searchTerm, commenter, page-1, count);
(which I cannot seem to find any documentation to see if there is a version that takes a sort parameter) it gets quite difficult as I need to get all of the posts, sort them, then work out which posts should be displayed and then assign them to a list (othewise I just sort the count items that are returned, and the items that are returned appear to be random). This feels like I am doing a lot of work that the above line does but which I cant use. (I have no idea if PostService.Instance.GetPosts has anything to do with this package) .
Both of these issues have fairly easy workarounds, but it would be nice (at least for me :-) ) if they came out of the box so I didn't need to re-implement them each time I updated the package.
The latest version of uBlogsy takes care of the search result from multiple roots issue.
is working on a reply...