Skip to content

Commit

Permalink
issue #178 - split-budget transactions breaks Transactions datatable …
Browse files Browse the repository at this point in the history
…sorting; disable ordering on budget column
  • Loading branch information
jantman committed Mar 18, 2018
1 parent c22d1ad commit 7b17fbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions biweeklybudget/flaskapp/static/js/transactions.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ $(document).ready(function() {
},
{
data: "DT_RowData.budget",
orderable: false, // split-budget transactions breaks sorting
"render": function(data, type, row) {
if(row.DT_RowData.budgets.length == 1) {
var budg = row.DT_RowData.budgets[0];
Expand Down

0 comments on commit 7b17fbf

Please sign in to comment.