Skip to content
This repository has been archived by the owner on Feb 19, 2021. It is now read-only.

Commit

Permalink
fix select condition and add group option
Browse files Browse the repository at this point in the history
  • Loading branch information
Luiz-N committed Jan 11, 2017
1 parent 40d0ab7 commit 3a6c380
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion addon/adapters/socrata.js
Expand Up @@ -74,7 +74,11 @@ export default Adapter.extend({
}

if ('select' in query) {
queryBuilder.order(...query['select']);
queryBuilder.select(...query['select']);
}

if ('group' in query) {
queryBuilder.group(...query['group']);
}

if ('q' in query) {
Expand Down

0 comments on commit 3a6c380

Please sign in to comment.