These 2 lines seems like a good helper method on the filter model (e.g. filter.repos), in order to determine the list of repos associated with a filter.  They are used in author_auto_complete, but may be useful elsewhere.