BigW Consortium Gitlab
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.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
settings | Loading commit data... | |
avatars_controller_spec.rb | Loading commit data... | |
children_controller_spec.rb | Loading commit data... | |
group_members_controller_spec.rb | Loading commit data... | |
labels_controller_spec.rb | Loading commit data... | |
milestones_controller_spec.rb | Loading commit data... | |
variables_controller_spec.rb | Loading commit data... |