civicrm/civicrm-core — pull request #1791 by pratik-joshi (2013-10-14 11:35:19+00:00)
Title: CRM-13573 : fix to process search criteria on page load as well

the issue :
- on the 'manage groups' page display UI, we have a search filter form and below it is result listing display.
- this search form consists of group status (enabled/disabled) checkbox criteria, of which 'enabled' is checked by default. But if we intially visit 'manage groups' page, the result lising also shows 'disabled' groups. (this is due to search filter not been processed during result listing.)

the fix :
- The search criteria processing works fine (while we click search button), the problem was with criteria not been processed on load of the page, so enabled it by passing 'true' arg buildGroupSelector( true ); on document ready event

----------------------------------------
* CRM-13573: Manage Groups display shows disabled groups on initial display - but disabled groups option is NOT selected
http://issues.civicrm.org/jira/browse/CRM-13573