We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This issue has originally been reported by @phuczeero at yiisoft/yii2#12961. Moved here by @samdark.
Token.php
namespace app\models; class Token extends \yii\redis\ActiveRecord { public function attributes() { return ['id', 'token', 'user_id']; } }
TokenController.php
namespace app\modules\v2\controllers; use app\models\Token; class TransferController extends \yii\rest\Controller { public function actionIndex() { return new \yii\data\ActiveDataProvider([ 'query' => Token::find()->where([ 'user_id' => Yii::$app->user->id, ]), ]); } }
X-Pagination-Current-Page →1 X-Pagination-Page-Count →2 X-Pagination-Per-Page →20 X-Pagination-Total-Count →30
X-Pagination-Current-Page →1 X-Pagination-Page-Count →0 X-Pagination-Per-Page →20 X-Pagination-Total-Count →0
The text was updated successfully, but these errors were encountered:
up
Sorry, something went wrong.
Am also facing the same issue, anyone with a solution for it?
No branches or pull requests
This issue has originally been reported by @phuczeero at yiisoft/yii2#12961.
Moved here by @samdark.
What steps will reproduce the problem?
Token.php
TokenController.php
What is the expected result?
What do you get instead?
Additional info
The text was updated successfully, but these errors were encountered: