From d888043a9d6ab4a8272f52caf9f6957c66e7545a Mon Sep 17 00:00:00 2001 From: Helena Rasche Date: Mon, 21 Oct 2024 09:32:07 +0200 Subject: [PATCH] enable wap for report Fixes #133 - fixed, finally. Apologies for the delay. Fixes #162 - no longer necessary --- parts/70-look-for.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/parts/70-look-for.sh b/parts/70-look-for.sh index ce560856..584a3cf7 100644 --- a/parts/70-look-for.sh +++ b/parts/70-look-for.sh @@ -324,6 +324,12 @@ look_for() { elif [[ "${query_name}" == "iquery"* ]]; then query_influx "$QUERY" "$query_name" "$fields" "$tags" "$timestamp" fi + elif [[ $query_type == "report" ]]; then + obtain_func "$query_type" "$query_name" "$@" + + if [[ "${query_name}" == "report"* ]]; then + query_tbl_wrapper "$QUERY" + fi else $fn "$@";