gitlab-org--gitlab-foss/app/controllers/projects
Rémy Coutable b6c9567adb Merge branch 'fix-branches-dropdown-initial-state' into 'master'
Fix branches page dropdown sort initial state

## What does this MR do?
Add 'Name' as the initial state for the branches dropdown filter

## Are there points in the code the reviewer needs to double check?
Shouldn't be

## Why was this MR needed?
Prevent dropdown from being rendered without an initial state

## What are the relevant issue numbers?
Closes #20753 

## Screenshots (if relevant)
Before:
![Screen_Shot_2016-08-10_at_2.26.59_PM](/uploads/e13725c90d1e870e0b08c3bff9234c4e/Screen_Shot_2016-08-10_at_2.26.59_PM.png)

After:
![Screen_Shot_2016-08-10_at_2.26.45_PM](/uploads/cd4957902ee1ebb74ac6e93b18c8ed02/Screen_Shot_2016-08-10_at_2.26.45_PM.png)

## Does this MR meet the acceptance criteria?

- [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
- Tests
  - [x] All builds are passing
- [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [x] Branch has no merge conflicts with `master` (if you do - rebase it please)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

See merge request !5761
2016-08-11 08:29:59 +00:00
..
application_controller.rb Unify check branch name exist 2016-06-20 21:44:21 +02:00
artifacts_controller.rb Just give regular 404, feedback: 2016-07-11 20:04:46 +08:00
avatars_controller.rb
badges_controller.rb Use new badge template to render build status badge 2016-08-08 10:05:52 +02:00
blame_controller.rb
blob_controller.rb Add unfold links for Side-by-Side view 2016-08-04 09:09:59 +03:00
branches_controller.rb Fix branches page dropdown sort initial state 2016-08-10 14:36:16 -05:00
builds_controller.rb Move Pipelines settings under `gitlab.com/gitlab-org/gitlab-ce/pipelines/settings` 2016-07-19 23:26:13 +02:00
commit_controller.rb switch from diff_file_collection to diffs 2016-08-03 07:00:20 +02:00
commits_controller.rb
compare_controller.rb Make Compare#diffs diff_options a regular argument 2016-08-03 09:32:01 -07:00
container_registry_controller.rb
deploy_keys_controller.rb Namespace EnableDeployKeyService under Projects 2016-08-08 20:59:51 +02:00
environments_controller.rb Minor fixes in the Env API endpoints 2016-08-01 08:42:09 +02:00
find_file_controller.rb
forks_controller.rb
git_http_controller.rb Stop 'git push' over HTTP early 2016-08-03 14:54:12 +02:00
graphs_controller.rb
group_links_controller.rb
hooks_controller.rb
imports_controller.rb
issues_controller.rb Remove `url_for_new_issue` helper 2016-08-01 18:23:12 -07:00
labels_controller.rb
merge_requests_controller.rb switch from diff_file_collection to diffs 2016-08-03 07:00:20 +02:00
milestones_controller.rb
network_controller.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
notes_controller.rb Add Discussion model to represent MR/diff discussion 2016-07-20 16:18:18 -06:00
pipelines_controller.rb Create PipelinesSettingsController for showing settings page 2016-07-20 14:39:06 +02:00
pipelines_settings_controller.rb Extract build status badge metadata to separate class 2016-07-28 14:35:02 +02:00
project_members_controller.rb Exclude requesters from Project#members, Group#members and User#members 2016-07-01 17:44:46 +02:00
protected_branches_controller.rb Use `Gitlab::Access` to protected branch access levels. 2016-07-29 15:20:39 +05:30
raw_controller.rb
refs_controller.rb Create PipelinesSettingsController for showing settings page 2016-07-20 14:39:06 +02:00
releases_controller.rb
repositories_controller.rb
runner_projects_controller.rb Use Ability to check pre-requisite. Change back to 403 because: 2016-06-29 19:04:06 +08:00
runners_controller.rb Rename according to: 2016-06-20 16:52:05 +08:00
services_controller.rb Refactor service settings view 2016-07-20 12:11:37 -03:00
snippets_controller.rb Fix snippets comments not displayed 2016-07-01 18:39:19 +02:00
tags_controller.rb Show release notes in tag list 2016-07-26 16:31:25 +01:00
todos_controller.rb Cache todos pending/done dashboard query counts 2016-07-12 18:57:52 +02:00
tree_controller.rb
triggers_controller.rb
uploads_controller.rb First support of videos in issues, MRs and notes 2016-07-19 18:51:09 +02:00
variables_controller.rb
wikis_controller.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00