Report this

What is the reason for this report?

Articles and tutorials search not working for no results.

Posted on June 18, 2013

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.



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!

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.

Hmmm, well this is weird. I’ve now tried it on Safari 5.1.7, Opera 15.0.1147.56, Firefox 21.0 and IE 10. <br> <br>Using basic dev tools I can see that the link that is request is <br>https://www.digitalocean.com/community/articles/search/?search=reboot <br>which returns <br> <br>{ <br>results: [ ], <br>search: “reboot” <br>} <br> <br>If I do a search for something which has a result, like “Ubunutu”, then of course, I get results <br>https://www.digitalocean.com/community/articles/search/?search=ubuntu <br> <br>So, as expected, it’s definitely your server returning the empty result for no results, but when you say “works fine for me”, what message are you seeing to indicate there are no results? <br>

Searching works fine for me, it’s probably a problem on your end. Can you please test with another browser?

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.