Skip to content

Commit

Permalink
Set the Recline dataset queryState value directly to avoid unnecessar…
Browse files Browse the repository at this point in the history
…y API calls #2009
  • Loading branch information
aliceh75 committed Oct 28, 2014
1 parent e2ac865 commit 1403da7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/reclineview/theme/public/recline_view.js
Expand Up @@ -63,7 +63,7 @@ this.ckan.module('recline_view', function (jQuery, _) {
});
}

dataset.query(query);
dataset.queryState.set(query.toJSON(), {silent: true});

errorMsg = this.options.i18n.errorLoadingPreview + ': ' + this.options.i18n.errorDataStore;
dataset.fetch()
Expand Down

0 comments on commit 1403da7

Please sign in to comment.