Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Why is the result count still displayed on the page even after unchecking “Show Search Results Count

aki_Z
Tera Contributor

aki_Z_0-1777256109039.png

 

 

aki_Z_1-1777256109408.png

 

 

aki_Z_2-1777256109111.png

 

As shown in the screenshot, “Show Search Results Count” has been unchecked in the Search Application configuration, and the log also shows the value as false. However, the result count is still displayed in the top-right corner. Why is it not being hidden, and how can I properly hide it?

3 REPLIES 3

Tanushree Maiti
Kilo Patron

Hi @aki_Z 

 

Can you try following things:

1. Turn the "Show Search Results Count" checkbox back on, save, and then uncheck it again to force a refresh. and try

2. uncheck "Show parent for results that are attachments" option on the search application page and try

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

I’ve already tried everything, but it still doesn’t work. The search result count in the top-left corner is still displayed and has not been hidden.

aki_Z
Tera Contributor

aki_Z_0-1777267227492.png

If I delete the code inside the red box, the count in the top-right corner will be hidden. However, this is not a good approach. Also, when I check or uncheck “Show Search Results Count” in the Search Application, the value in the log correctly changes between true and false. Since there is already a toggle to control this, I shouldn’t remove the code directly.

My confusion is: even when this setting is false, the count is still not hidden. Why is the toggle not working as expected?