From 7af78e28827f3b9be29fe136dd58bd0e446a2fcc Mon Sep 17 00:00:00 2001 From: Jeremy Wildfire Date: Fri, 9 Dec 2022 09:52:42 -0500 Subject: [PATCH 1/2] revert to standard select. fix #697 --- R/mod_filterTab.R | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/R/mod_filterTab.R b/R/mod_filterTab.R index 2cc6ec66..a2266fe3 100644 --- a/R/mod_filterTab.R +++ b/R/mod_filterTab.R @@ -78,12 +78,13 @@ filterTab <- function(input, output, session, domainData, filterDomain, current_ shinyjs::hide(selector = paste0(".navbar li a[data-value=",tabID,"]")) shinyjs::hide(selector = paste0(".navbar #population-header")) }) - + res_filter <- filter_data_server( id = "filtering", data = raw, name = reactive({filterDomain}), - vars = reactive({filterVars}) + vars = reactive({filterVars}), + widget_char="select" ) observeEvent(res_filter$filtered(), { From 8fc54745defce5f7932f00f26e5ee0012f5843cb Mon Sep 17 00:00:00 2001 From: Jeremy Wildfire Date: Fri, 9 Dec 2022 09:58:15 -0500 Subject: [PATCH 2/2] update version --- DESCRIPTION | 2 +- LICENSE | 2 +- LICENSE.md | 2 +- NEWS.md | 4 ++++ 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 6041284b..b59e08dd 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: safetyGraphics Title: Interactive Graphics for Monitoring Clinical Trial Safety -Version: 2.1.0 +Version: 2.1.1 Authors@R: c( person("Jeremy", "Wildfire", email = "jwildfire@gmail.com", role = c("cre","aut")), person("Becca", "Krouse", role="aut"), diff --git a/LICENSE b/LICENSE index f02ff01c..34fa246e 100644 --- a/LICENSE +++ b/LICENSE @@ -1,2 +1,2 @@ -YEAR: 2021 +YEAR: 2022 COPYRIGHT HOLDER: safetyGraphics authors diff --git a/LICENSE.md b/LICENSE.md index db5cbda1..8e28534d 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ # MIT License -Copyright (c) 2021 safetyGraphics authors +Copyright (c) 2021-2023 safetyGraphics authors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/NEWS.md b/NEWS.md index 9feaf90a..606f5024 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,7 @@ +# safetyGraphics v2.1.1 + +Resolves a bug that was causing unexpected data filters on initial load. + # safetyGraphics v2.1.0 This release focuses on updates the safetyGraphics metadata framework: