Skip to content

Commit

Permalink
Resolving issue with date range filter
Browse files Browse the repository at this point in the history
  • Loading branch information
aanunez committed Sep 23, 2022
1 parent 03cc26f commit b5d115e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/viewTweaks.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ ReportTweaks.fn.rangeSearch = (settings, data, dataIndex) => {
}

// Gather the data for the row
let datum = data[$("#report_table th").index($(`th:contains(${field})`))] || 0;
let datum = data[ReportTweaks.headers.all[field]?.index] || 0;
datum = field == ReportTweaks.record_id ? datum.split(' ')[0] : datum;

// Col data could be non-ymd
Expand Down

0 comments on commit b5d115e

Please sign in to comment.