diff options
| author | Terry Truong <terry06890@gmail.com> | 2023-01-06 20:23:45 +1100 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2023-01-06 20:23:45 +1100 |
| commit | d8c29e8dcc925b6013880f66e690fa6b006d9154 (patch) | |
| tree | 479cc362b33862cce89694671d7b1a24f3b8bdae /src/App.vue | |
| parent | 50fc47e6e387c3b278526ef773badf63913389d6 (diff) | |
Implement filtering by event categories
Filter events in display and search suggestions.
Make server queries allow specification of multiple categories.
Make settings modal avoid disabling all categories.
Diffstat (limited to 'src/App.vue')
| -rw-r--r-- | src/App.vue | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/App.vue b/src/App.vue index 70cd390..8ca2f95 100644 --- a/src/App.vue +++ b/src/App.vue @@ -230,6 +230,8 @@ async function onEventDisplay( } lastQueriedRange = [firstDate, lastDate]; let urlParams = new URLSearchParams({ + // Note: Intentionally not filtering by event categories (would need category-sensitive + // unit count data to determine when enough events have been obtained) type: 'events', range: `${firstDate}.${lastDate}`, scale: String(SCALES[scaleIdx]), |
