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

Order reset for QueryBuilder #7

Open
danaki opened this issue Oct 11, 2019 · 0 comments
Open

Order reset for QueryBuilder #7

danaki opened this issue Oct 11, 2019 · 0 comments

Comments

@danaki
Copy link

danaki commented Oct 11, 2019

Since Sphinx returns document ID's in an ordered manner (if order is provided) and these ids then put to QueryBuilder which searches for entities using "IN" clause, the resulting order of documents retrieved from the database is random. And I guess this:

        if ($this->orderBy) {
            $this->queryBuilder->resetDQLPart('orderBy');
        }

in applyQueryBuilder() doesn't allow to fix the order.

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

No branches or pull requests

1 participant