Skip to content

Console index action ignores default scope #22

@askobara

Description

@askobara

In ConsoleCommand::actionIndex() for getting models used simple sql-query to the database. But for count used CActiveRecord::count(), so when you expect that in index would be added some part of rows actually would be added everything.

Metadata

Metadata

Assignees

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