Question

Articles and tutorials search not working for no results.

  • Posted on June 18, 2013
  • jonathanAsked by jonathan

When I enter a search in “articles and tutorials”, I get a spinner for a fraction of a second, and then nothing for searches like “reboot”, “console” etc.

I can see that the server is returning {“results”:[],“search”:“console”} but this isn’t really helpful, as I thought search was just broken at first. It would help if “no results” showed “no results” so at least end users would know that search had run.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

An empty array of results usually means there was nothing found. ;)

Yes, my point was (as per my original post) that it would help if “no results” showed “no results” so at least end users would know that search had run.

Oh, we don’t have any articles containing the word ‘reboot’. The search box is only for articles and doesn’t search questions. <br> <br>You can find a list of all articles here: https://www.digitalocean.com/community/community_tags/all-articles