Skip to content

Commit

Permalink
fix(journal): only reload view after edit (#1601)
Browse files Browse the repository at this point in the history
The Posting Journal previously did not reload the filters after an edit.  This was a simple problem
of merging or programmer forgetting to call the formatHTTP().  This commit fixes that error.

Closes #1600.
  • Loading branch information
jniles committed May 5, 2017
1 parent 12acc60 commit 4504703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/modules/journal/journal.js
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ function JournalController(Journal, Sorting, Grouping,
.then(function (results) {
Notify.success('POSTING_JOURNAL.SAVE_TRANSACTION_SUCCESS');
// ensure that all of the data now respects the current filter
load(vm.filters);
load(Journal.filters.formatHTTP(true));
})
.catch(function (error) {
if (!error.status) {
Expand Down

0 comments on commit 4504703

Please sign in to comment.