FIX: show all staff events related to the target user

This commit is contained in:
Arpit Jalan
2017-02-22 13:31:40 +05:30
parent b32f33b3f0
commit 213a496203
3 changed files with 4 additions and 8 deletions

View File

@@ -33,7 +33,7 @@ export default Discourse.Route.extend({
viewActionLogs(username) {
const controller = this.controllerFor('adminLogs.staffActionLogs');
this.transitionTo('adminLogs.staffActionLogs').then(() => {
controller._changeFilters({ acting_user: username });
controller._changeFilters({ target_user: username });
});
}
}