Question

Knowledge Base (solutions) when searching

  • 29 January 2024
  • 1 reply
  • 37 views

Badge

Question. We’ve noted our tickets appear under the search results. Is there a way to disable this option so that only the knowledge base articles appear?

I understand this needs to be done via portal customization but I’m having no luck to be able to search for the function to disable this. 

 

 


1 reply

Userlevel 5
Badge +5

Hi @Sam_Kenth 

Hope you are well

I understand that you’d like to hide the tickets from the Support Portal when users are searching something. I have a piece of code which would hide a tickets section when Service Items, Solutions and tickets are shown. Since there is no fixed selector, I was not able to construct a 100% working one:

Does not work:

Works:

You may paste this in the Custom Style sheets:

#all-results > ul:nth-child(6), #all-results > h2:nth-child(5),#tickets{
  display: none !important;
}
If we’re able to Target the exact selector for Ticket section. We would be able to hide them. I hope this helps even a little. Thanks!

Amy!

Reply