Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Console index action ignores default scope #22

Open
askobara opened this issue Apr 28, 2014 · 1 comment
Open

Console index action ignores default scope #22

askobara opened this issue Apr 28, 2014 · 1 comment
Assignees

Comments

@askobara
Copy link

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.

@mikehaertl
Copy link
Collaborator

@askobara I've just commited a fix for issue #23 which should also fix this issue here. Can you maybe help testing this, as i don't have an elasticsearch installation available right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants