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

Integers should be handled the same way as floats #69

Closed
maz0717 opened this issue Jan 9, 2017 · 1 comment
Closed

Integers should be handled the same way as floats #69

maz0717 opened this issue Jan 9, 2017 · 1 comment
Assignees
Labels
Milestone

Comments

@maz0717
Copy link

maz0717 commented Jan 9, 2017

What steps will reproduce the problem?

->andFilterWhere('>=','year',$integer_var);

What's expected?

The query to work.

What do you get instead?

SQLSTATE[42000]: Syntax error or access violation: 1064 sphinxql: syntax error, unexpected QUOTED_STRING, expecting CONST_INT or CONST_FLOAT or DOT_NUMBER or '-' near ''1400') AND (issue_year <= '1500')) AND (is_forsale=1)) ORDER BY title ASC LIMIT 25; SHOW META'

Additional info

Q A
Yii version 2.0.10
Yii Sphinx version lastest from composer
Sphinx server version 2.2.11
PHP version 7.0.12
Operating system CentOS 7
@klimov-paul klimov-paul added status:to be verified Needs to be reproduced and validated. type:bug Bug and removed status:to be verified Needs to be reproduced and validated. labels Jan 9, 2017
@klimov-paul klimov-paul self-assigned this Jan 9, 2017
@klimov-paul klimov-paul added this to the 2.0.7 milestone Jan 9, 2017
@klimov-paul
Copy link
Member

Resolved by commit 4625dd0

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