Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I need to add the ability to search for content by the "Title" field among the 3 types (category, property, organization).
public class SearchController : SurfaceController
private readonly UmbracoHelper _uh = new UmbracoHelper(UmbracoContext.Current);
public ActionResult Find(string text)
var query = ExamineManager.Instance.CreateSearchCriteria()
var result = _uh.Search(query);
return PartialView("~/Views/Partials/FindResult.cshtml", result);
The structure of my site:
-----Category (has Title)
-----Property (has Title)
-----Organization (has Title)
But it seems it does not work properly. Please any help
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted