gitlab-org--gitlab-foss/spec/controllers
Bob Van Landuyt 5a335c4d95 Remove the selects when counting the last page
The last page of the first collection is only loaded into memory when
it is being viewed. If it isn't loaded into memory, the `#size` call
triggers a count query.

This `#count` would generate an invalid query if our custom preloaded
counts are included by adding a separate `as count_column` alias on
top of the count aliases. Removing the selects in this case will make
sure a valid `COUNT(*)` is generated.
2017-11-17 16:20:47 +01:00
..
admin Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00
boards Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00
concerns Fix filter by my reaction is not working 2017-11-13 18:20:02 +09:00
dashboard Fix access to the final page of todos 2017-11-09 13:13:48 +00:00
explore Search subgroups on dashboard and explore views 2017-10-04 22:49:41 +02:00
google_api Improve redirect uri state and fix all remaining tests 2017-10-06 16:14:14 +02:00
groups Remove the selects when counting the last page 2017-11-17 16:20:47 +01:00
import Rewrite the GitHub importer from scratch 2017-11-07 23:24:59 +01:00
oauth Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00
profiles Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00
projects Make sure NotesActions#noteable returns a Noteable in the update action 2017-11-16 15:12:23 +01:00
snippets Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00
abuse_reports_controller_spec.rb
application_controller_spec.rb Remove authentication using user.private_token 2017-11-02 11:39:02 +01:00
autocomplete_controller_spec.rb Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00
dashboard_controller_spec.rb Change all `:empty_project` to `:project` 2017-08-02 17:47:31 -04:00
groups_controller_spec.rb Merge branch '35644-refactor-have-http-status-into-have-gitlab-http-status' into 'master' 2017-10-23 14:55:57 +00:00
health_check_controller_spec.rb Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00
health_controller_spec.rb Fix the filesystem shard health check to check all configured shards 2017-09-19 11:05:42 +01:00
help_controller_spec.rb Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00
invites_controller_spec.rb Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00
metrics_controller_spec.rb Merge branch 'pawel/show_empty_page_when_prometheus_metrics_are_disabled-35639' into 'master' 2017-11-06 17:02:22 +00:00
notification_settings_controller_spec.rb Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00
passwords_controller_spec.rb Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00
profiles_controller_spec.rb Merge branch 'security-10-1' into '10-1-stable' 2017-10-17 15:58:58 -07:00
projects_controller_spec.rb Change tags order in refs dropdown 2017-11-07 15:32:51 +11:00
registrations_controller_spec.rb Show confirmation modal before deleting account 2017-10-06 20:40:41 +00:00
root_controller_spec.rb
search_controller_spec.rb Change all `:empty_project` to `:project` 2017-08-02 17:47:31 -04:00
sent_notifications_controller_spec.rb Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00
sessions_controller_spec.rb Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00
snippets_controller_spec.rb Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00
uploads_controller_spec.rb Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00
users_controller_spec.rb Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00