Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Move the initialisation.
James Colea6695a2da00f
diff --git a/resources/assets/v3/js/pages/accounts/index.js b/resources/assets/v3/js/pages/accounts/index.jsindex 72a43274bd..ab94454a60 100644--- a/resources/assets/v3/js/pages/accounts/index.js+++ b/resources/assets/v3/js/pages/accounts/index.js@@ -90,9 +90,6 @@ let index = function () {}- this.initFromLocalStorage();- this.initFromQueryParams();-console.log('final sort columns', JSON.parse(JSON.stringify(this.defaultSortColumns)));console.log('final sort directions', JSON.parse(JSON.stringify(this.defaultSortDirections)));@@ -116,6 +113,9 @@ let index = function () {this.pageNavUrl = "./accounts/" + this.objectType;this.active = "inactive-accounts" !== address[address.length - 2];+ this.initFromLocalStorage();+ this.initFromQueryParams();+// watch for changes in the sortable table instructions.document.addEventListener("sortable-table-sort-change", this.respondToSortChange.bind(this));