1

I am configuring a results box for only a portion of my SharePoint 2013 site. Initially I came across the problem that the results box would display results even before any searches were executed. I've fixed that, but now the results box is displaying Nothing here matches your search even before a user searches for anything. Is there a way to disable this or change to a different text? My users will be confused if they see that message without even searching for anything.

1

I think that this might push you in the right direction. Please find below links and let me know if this fixes issue.

Not sure if you were using a web part but here's another one that might help with the issue.

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

  • Thank you very much, I'll try that in a little bit and will get back to you! – Aileen Marshall Oct 22 '15 at 18:27
0

In most cases I want the error/warning and sometimes i don't so i simply include some simple css on the page where i don't want it. Not generally a good practice but sometimes it suffices.

#NoResult { 
  display: none; 
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.