gregbell/active_admin — pull request #1804 by Daxter (2012-12-07 08:52:34+00:00)
Title: [559] Show scopes if no results are found

This PR reverts #559 and is a half-fix for #995

Since we currently hide/remove scopes when a filter doesn't return results, it's much more difficult for the user to figure out "what went wrong" with their query. If they can see that all available scopes are reporting 0 records for the query, they know with a much higher degree of certainty that there truly is nothing to find. What's worse, since the scopes are currently hidden, there would be no way to know if there were results in other scopes!

This PR is tangentially related to #1532. My goal is to implement this "minimap" if you would, to explicitly tell the user how their result set has been refined.
![](https://raw.github.com/Daxter/5-gallon-bucket/master/Screenshot%20for%20AA%20%231532.png)