move getSearchQuery from the card layout to base.
Merge branch 'develop' into topic-dojo-upgrade