diff options
| author | Adam Soltys <[email protected]> | 2015-12-03 00:35:20 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2015-12-03 00:35:20 -0800 |
| commit | b5edbc724cbebb44d54ee508752cb2101a356a3d (patch) | |
| tree | 1f6c6cfb986dd00d1af922b7ddf5cb1b4b8e5e17 /public/js/report.coffee | |
| parent | 5c61a374297a00dee56c614f88eb37ebb548b949 (diff) | |
| download | coinos-server-b5edbc724cbebb44d54ee508752cb2101a356a3d.tar.gz coinos-server-b5edbc724cbebb44d54ee508752cb2101a356a3d.zip | |
Fix transaction date filter
Diffstat (limited to 'public/js/report.coffee')
| -rw-r--r-- | public/js/report.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/report.coffee b/public/js/report.coffee index bd449a43..0478a197 100644 --- a/public/js/report.coffee +++ b/public/js/report.coffee @@ -39,7 +39,7 @@ filterDates = -> amount = parseFloat(e.exchange) * parseFloat(e.received) !isNaN(parseFloat(amount)) && isFinite(amount) && - (!from? || d.diff(from) >= 0) && (!to? || d.diff(to) <= 0) + (!from? || d.diff(from, 'days') >= 0) && (!to? || d.diff(to, 'days') <= 0) ) display(transactions) |
