Kentico filter duplicates in search
问题 I have the following script to return search results of linked pages. I need to filter out the duplicates of the alias pages, as well as sort the results alphabetically. Currently, it returns both main page and alias page and does not sort them. <script runat="server"> bool hasDegree; bool hasCertificate; bool hasLetter; protected override void OnInit(EventArgs e) { base.OnInit(e); hasDegree = ValidationHelper.GetBoolean(CMS.DocumentEngine.DocumentHelper .GetDocuments("FCC.Credential").Path