mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-01-25 12:47:28 +01:00
Change default template to use the new facility
This commit is contained in:
parent
580ea2f450
commit
4464d319af
@ -56,7 +56,9 @@ fn default_template() -> liquid::Template {
|
||||
|
||||
fn default_template_text() -> &'static str {
|
||||
"{% for field in fields %}\
|
||||
{% if field.is_searchable and field.value != nil %}\
|
||||
{{ field.name }}: {{ field.value }}\n\
|
||||
{% endif %}\
|
||||
{% endfor %}"
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user