anahitasocial/anahita — pull request #30 by kulbakin (2013-11-03 22:36:54+00:00)
Title: fix: make search not to include scope without result

Search by default picks 1st registered scope (Notes) even if it has not results, the fix makes component to pick default scope from those having results

see http://www.getanahita.com/topics/118849-bug-search-module-always-returns-1st-registered-searchable-group