From ec4def2322503793157535a4d7d4f931e0f7c7a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Kaminski?= <pk@intrepidus.pl> Date: Fri, 2 Jun 2023 12:17:57 +0200 Subject: [PATCH] [ngrams] sql typo fix --- src/Gargantext/Database/Action/Metrics/NgramsByContext.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gargantext/Database/Action/Metrics/NgramsByContext.hs b/src/Gargantext/Database/Action/Metrics/NgramsByContext.hs index 6c24e126..93cbaa59 100644 --- a/src/Gargantext/Database/Action/Metrics/NgramsByContext.hs +++ b/src/Gargantext/Database/Action/Metrics/NgramsByContext.hs @@ -138,7 +138,7 @@ getOccByNgramsOnlyFast cId lId nt = do ), node_context_ids AS (SELECT context_id, ngrams_id, terms FROM cnnv - JOIN ngrams ON context_node_ngrams_view.ngrams_id = ngrams.id + JOIN ngrams ON cnnv.ngrams_id = ngrams.id WHERE node_id = ? ), ns AS (SELECT ngrams_id FROM node_stories -- 2.21.0