🇵🇪Peru @jcarhuazv

Account created on 6 September 2021, over 3 years ago
#

Recent comments

🇵🇪Peru jcarhuazv

Thanks @sandip27 for that patch. I'm new to this forum so I hope to contribute correctly.
For the results list to look correctly it is also necessary to change 'item.value' to 'item' in the results template custom-search-results.html.twig.

index a2335c8e..81df7bf0 100644
--- a/modules/contrib/custom_search/templates/custom-search-results.html.twig
+++ b/modules/contrib/custom_search/templates/custom-search-results.html.twig
@@ -31,7 +31,7 @@
       {%- endif -%}
       <{{ list_type }}{{ attributes }}>
         {%- for item in items -%}
-          <li{{ item.attributes }}>{{ item.value }}</li>
+          <li{{ item.attributes }}>{{ item }}</li>
         {%- endfor -%}
       </{{ list_type }}>
       {%- if filter_position=='below' -%}

Regards.

Production build 0.71.5 2024