Github user benkeen commented on a diff in the pull request:
https://github.com/apache/couchdb-fauxton/pull/713#discussion_r65165318
--- Diff: app/addons/documents/changes/actions.js ---
@@ -66,7 +61,7 @@ export default {
var query = $.param(params);
var db = app.utils.safeURLName(changesStore.getDatabaseName());
- var endpoint = FauxtonAPI.urls('changes', 'server', db, '');
+ var endpoint = FauxtonAPI.urls('changes', 'server', db, '?' + query);
currentRequest = $.getJSON(endpoint);
currentRequest.then(_.bind(this.updateChanges, this));
--- End diff --
Yeah, `.then()` robs the `this` context so updateChanges can't reference
`this.getLatestChanges()`.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---