From 3a2af43f6d5069fd8815beba255142b783db0685 Mon Sep 17 00:00:00 2001 From: Simon Dalvai Date: Wed, 11 Oct 2023 12:35:38 +0200 Subject: [PATCH] events: replace open end checkbox with selection box --- src/main/webapp/index.html | 7 +++++-- src/main/webapp/view-events.js | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/index.html b/src/main/webapp/index.html index 2613635..c472137 100644 --- a/src/main/webapp/index.html +++ b/src/main/webapp/index.html @@ -309,8 +309,11 @@
-

INCLUDE OPEN END EVENTS

- +

OPEN END EVENTS

+

DATA PROVIDER

diff --git a/src/main/webapp/view-events.js b/src/main/webapp/view-events.js index 490b58f..3bbacd0 100644 --- a/src/main/webapp/view-events.js +++ b/src/main/webapp/view-events.js @@ -254,7 +254,7 @@ let where_params = []; if (state.category) where_params.push(`evcategory.eq.${state.category}`); - if (!_openEnd.checked) + if (_openEnd.value == 'exclude') where_params.push(`evend.neq.null`); if (where_params.length == 0) { api_url += "?limit=-1"