Skip to content

Selection->page bug #191

@2bad2furious

Description

@2bad2furious
  • bug report? yes
  • feature request? no

Description

Paging doesn't take into account GROUP.

Example

$selection = $database->table('table1')
->group('column');

$selection->page sets the $numOfPages to $selection->count(''), which is just
SELECT count(*) FROM table1,
where it should be

SELECT count(*)
 FROM table1 
GROUP BY column

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions