Mikhail
Mikhail
### What steps will reproduce the problem? ```php $query = new \yii\sphinx\Query(); $query->select('id, name, entity_id, entity_type')-> from('all'); //... $query->match(new Expression(':match', ['match' => $str])); ``` ### What's expected? SQL like: ```...
Hello. In App\Models\Tag::articles you have it wrong: ```php return $this->belongsToMany('App\Models\Article', 'articles_tags', 'article_id', 'tag_id'); ``` you need to write: ```php return $this->belongsToMany('App\Models\Article', 'articles_tags', 'tag_id', 'article_id'); ```
### What steps will reproduce the problem? First working code: ```php ``` works like usual in Yii2. And now I try to add suffix to the field ```php
Hello. It took me a couple of hours to figure out why this plugin "was not working" It was really working but in not very clear way. 1) I have...