       # _location isnt a input
       break if input is '_location'
 
-      # renamed to avoid tests to fail
-      if input is 'project_id' then input = 'search_project_id'
-
       @getElement("##{input}").val('')
 
   removeLocationBadge: ->

    # Prevent multiple ajax calls
    return if @loadingSuggestions

    return if @badgePresent()

    @loadingSuggestions = true

  serializeState: ->
    {
      # Search Criteria
      search_project_id: @projectInputEl.val()
      group_id: @groupInputEl.val()
      search_code: @searchCodeInputEl.val()
      repository_ref: @repositoryInputEl.val()
