Show only spaces with default blue print

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
drawde.um's picture

I have two blue prints for the space content type in OA. On the toolbar dropdown i want to show only the spaces created using the default blue print. AO uses the oa_core_get_groups_by_user_access to pull all spaces a use subscribed to. I want to alter this function to show only spaces created using the default blue print by altering the query used in this function.

All my attempts to do so have. Can someone help me with the piece of code i can add to this function to achieve this functionality.

Open Atrium

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week