codemix / codemix/YiiElasticSearch

Console index action ignores default scope

Open
#22 1 comment 0 reactions 1 assignee Claimed by @mikehaertl View on GitHub
Dominant language
PHP
Stars
33
Forks
15
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.