From 1a31d9b54e0e3245b35940907393419273312602 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 6 Oct 2022 09:53:54 +0200 Subject: [PATCH 1/2] Fix global search term Signed-off-by: Thomas Citharel --- lib/service/global_search/search_mobilizon.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/service/global_search/search_mobilizon.ex b/lib/service/global_search/search_mobilizon.ex index 47bef9418..526e08f79 100644 --- a/lib/service/global_search/search_mobilizon.ex +++ b/lib/service/global_search/search_mobilizon.ex @@ -37,7 +37,7 @@ defmodule Mobilizon.Service.GlobalSearch.SearchMobilizon do options = options |> Keyword.merge( - term: options[:search], + search: options[:term], startDateMin: to_date(options[:begins_on]), startDateMax: to_date(options[:ends_on]), categoryOneOf: options[:category_one_of], @@ -95,7 +95,7 @@ defmodule Mobilizon.Service.GlobalSearch.SearchMobilizon do options = options |> Keyword.merge( - term: options[:search], + search: options[:term], languageOneOf: options[:language_one_of], boostLanguages: options[:boost_languages], distance: if(options[:radius], do: "#{options[:radius]}_km", else: nil), From 7ccf42e313e78bb17d73aa8ad9102b11f14416e2 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 6 Oct 2022 09:54:05 +0200 Subject: [PATCH 2/2] Fix custom icons in metadata list Signed-off-by: Thomas Citharel --- js/src/components/Event/EventMetadataSidebar.vue | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/js/src/components/Event/EventMetadataSidebar.vue b/js/src/components/Event/EventMetadataSidebar.vue index b6a0db330..051943a0b 100644 --- a/js/src/components/Event/EventMetadataSidebar.vue +++ b/js/src/components/Event/EventMetadataSidebar.vue @@ -100,7 +100,17 @@ :title="extra.title || extra.label" :key="extra.key" > - +