Change api endpoint for source branch filter dropdown
Background
Global search page merge request scope has a source branch filter. We have a new api to populate this filter.
Proposal
We will get rid of extra endpoint and use the aggregations API call.
Edited by Tomas Bulva