Added default sorted scope to Status, so whenever statuses are
retrieved without any ordering parameter, they should be sorted
automatically
Removed now-redundant specification of Status sort order
added changelog entry for 4858
Merge pull request #953 from opf/fix/status_sorting_2674_3084

Fix/status sorting 2674 3084
add changelog entry for #3084
correctly validate name,filter in query

fixes #3404

validate the presence of name, filters using the rails3 way.
was: validate_presence_of :name
now: validate :name, presence: true
mark name field as required in query-view
add spec for filter-name validation
add :editable, :visible to permitted_params of custom_fields
test :editable and :visible params for custom_field
fix toggling tests
now that the Query#name validation works, we have to provide names for generated queries...
Update planning_elements_controller.rb
Update copy.rb
Merge pull request #957 from opf/fix/test_toggler

fix toggling tests
Merge pull request #955 from opf/fix/custom_field_permitted_params_3312

add :editable, :visible to permitted_params of custom_fields
Update CHANGELOG.md
Merge pull request #954 from opf/fix/validate_presence_of_name_in_query_3404

Fix/validate presence of name in query 3404
show current search scope
regression test for scope in view and links