diff --git a/NEWS.md b/NEWS.md index fb9fac8b4..fad6384c8 100644 --- a/NEWS.md +++ b/NEWS.md @@ -7,6 +7,7 @@ ### Bug fixes * Fixed an overflow for very wide `tm_a_pca` tables. +* Fixed the join type functionality in the `tm_t_crosstable`. # teal.modules.general 0.2.14 diff --git a/R/tm_t_crosstable.R b/R/tm_t_crosstable.R index d12a2d3a1..66ff88235 100644 --- a/R/tm_t_crosstable.R +++ b/R/tm_t_crosstable.R @@ -178,10 +178,10 @@ srv_t_crosstable <- function(id, datasets, reporter, label, x, y, basic_table_ar ) merge_function <- reactive({ - if (is.null(input$merge_fun)) { + if (is.null(input$join_fun)) { "dplyr::full_join" } else { - input$merge_fun + input$join_fun } })