{"action":"closed","issue":{"url":"https://api.github.com/repos/emberjs/data/issues/3895","labels_url":"https://api.github.com/repos/emberjs/data/issues/3895/labels{/name}","comments_url":"https://api.github.com/repos/emberjs/data/issues/3895/comments","events_url":"https://api.github.com/repos/emberjs/data/issues/3895/events","html_url":"https://github.com/emberjs/data/issues/3895","id":114147483,"number":3895,"title":"BuildURLMixin drops query params","user":{"login":"swalkinshaw","id":295605,"avatar_url":"https://avatars.githubusercontent.com/u/295605?v=3","gravatar_id":"","url":"https://api.github.com/users/swalkinshaw","html_url":"https://github.com/swalkinshaw","followers_url":"https://api.github.com/users/swalkinshaw/followers","following_url":"https://api.github.com/users/swalkinshaw/following{/other_user}","gists_url":"https://api.github.com/users/swalkinshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/swalkinshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swalkinshaw/subscriptions","organizations_url":"https://api.github.com/users/swalkinshaw/orgs","repos_url":"https://api.github.com/users/swalkinshaw/repos","events_url":"https://api.github.com/users/swalkinshaw/events{/privacy}","received_events_url":"https://api.github.com/users/swalkinshaw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-29T21:07:40Z","updated_at":"2015-12-17T18:47:09Z","closed_at":"2015-12-17T18:47:09Z","body":"I'm using `adapter.buildURL` for a non-standard URL and I was following through the [file](https://github.com/emberjs/data/blob/v1.13.14/packages/ember-data/lib/adapters/build-url-mixin.js) (in 1.13.14) to see if there was a nicer way to specify query params than manually for the ajax call.\r\n\r\n`query` is listed as a [param](https://github.com/emberjs/data/blob/v1.13.14/packages/ember-data/lib/adapters/build-url-mixin.js#L49), but if you follow any function call which uses `query` none of the functions actually use it:\r\n\r\n```js\r\nurlForQuery: function(query, modelName) {\r\n  return this._buildURL(modelName);\r\n},\r\n```\r\n\r\n```js\r\nurlForQueryRecord: function(query, modelName) {\r\n  return this._buildURL(modelName);\r\n},\r\n```\r\n\r\nThis is no different in 2.1.0 either. I don't know if this is intentional but `query` shouldn't even exist if the option is never used."}}