[#217,backend/ckan][xs]: correct argument order to query method and make test into a proper module to stop cross test pollution.

This commit is contained in:
Rufus Pollock
2012-08-18 02:50:25 +01:00
parent 74132d36d7
commit 24f13366c0
2 changed files with 3 additions and 1 deletions

View File

@@ -37,7 +37,7 @@ this.recline.Backend.Ckan = this.recline.Backend.Ckan || {};
return dfd.promise();
};
my.query = function(dataset, queryObj) {
my.query = function(queryObj, dataset) {
var wrapper = my.DataStore(dataset.url);
var actualQuery = {
resource_id: dataset.id,