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

Yii2 snippets with match mode #61

Closed
goodini opened this issue May 30, 2016 · 1 comment
Closed

Yii2 snippets with match mode #61

goodini opened this issue May 30, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@goodini
Copy link

goodini commented May 30, 2016

when used at the same time match and snippetCallback, does not change the setting :qp2

in yii\sphinx\QueryBuilder

$params[$matchParamName] = $match; (411 string)

replaced by

if ($match instanceof Expression) {
$params[$matchParamName] = $match->params['match'];
} else {
$params[$matchParamName] = $match;
}

@klimov-paul klimov-paul added the type:bug Bug label May 30, 2016
@klimov-paul klimov-paul added this to the 2.0.6 milestone May 30, 2016
@klimov-paul klimov-paul self-assigned this May 30, 2016
@klimov-paul
Copy link
Member

Resolved by commit 9baafbb

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

No branches or pull requests

2 participants