From 0cd749b342f0e5ff95b71690ef92dd2674c10543 Mon Sep 17 00:00:00 2001 From: karengeo Date: Mon, 8 May 2023 14:44:15 -0400 Subject: [PATCH 1/2] premier_test_ajout_hastags --- packages/geo/src/lib/search/shared/sources/source.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/geo/src/lib/search/shared/sources/source.ts b/packages/geo/src/lib/search/shared/sources/source.ts index abd560f2e0..3649a031eb 100644 --- a/packages/geo/src/lib/search/shared/sources/source.ts +++ b/packages/geo/src/lib/search/shared/sources/source.ts @@ -214,7 +214,7 @@ export class SearchSource { * @param hashtag hashtag from query */ getHashtagsValid(term: string, settingsName: string): string[] { - const hashtags = term.match(/(#[A-Za-z+]+)/g); + const hashtags = term.match(/(#[A-Za-zÀ-ú+]+)/g);//ajout pour reconnaitre hastags if (!hashtags) { return undefined; } From ac000758a833c910442a96874395332f0acfe18a Mon Sep 17 00:00:00 2001 From: karengeo Date: Wed, 17 May 2023 12:04:29 -0400 Subject: [PATCH 2/2] insert_accent_to_the_keywords_in_order_to_use_hashtag_and(-) --- packages/geo/src/lib/search/shared/sources/source.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/geo/src/lib/search/shared/sources/source.ts b/packages/geo/src/lib/search/shared/sources/source.ts index 3649a031eb..91db4f4be8 100644 --- a/packages/geo/src/lib/search/shared/sources/source.ts +++ b/packages/geo/src/lib/search/shared/sources/source.ts @@ -214,7 +214,7 @@ export class SearchSource { * @param hashtag hashtag from query */ getHashtagsValid(term: string, settingsName: string): string[] { - const hashtags = term.match(/(#[A-Za-zÀ-ú+]+)/g);//ajout pour reconnaitre hastags + const hashtags = term.match(/(#[A-Za-zÀ-ÿ-+]+)/g); if (!hashtags) { return undefined; }