[x] I have read and followed the guidelines in the CONTRIBUTING document
[x] I have checked to ensure there aren't other open Pull Requests for the same update/change
[ ] I have updated the documentation accordingly.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.
This PR fixes property name replacement in the sort_by clause of a search query. It also refactors the test fixtures to function scope (instead of module scope) to be able to expose the problem in tests.
CONTRIBUTING
documentThis PR fixes property name replacement in the sort_by clause of a search query. It also refactors the test fixtures to function scope (instead of module scope) to be able to expose the problem in tests.
Closes #390