5a335c4d95
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. |
||
---|---|---|
.. | ||
settings | ||
avatars_controller_spec.rb | ||
children_controller_spec.rb | ||
group_members_controller_spec.rb | ||
labels_controller_spec.rb | ||
milestones_controller_spec.rb | ||
variables_controller_spec.rb |