Something like this:
Model::model()->resetScope(false)
in order to preserve the default scope?
Something like this:
Model::model()->resetScope(false)
in order to preserve the default scope?
In my situation I found out that
Guest::model()->setDbCriteria(null);
worked as I wanted.