[Bolt 5] Documentation for global search contains reference to non-existent variable
Open
- Dominant language
- PHP
- Stars
- 45
- Forks
- 189
- PR merge metrics
- No merged PRs in 30d
Description
See https://docs.boltcms.io/5.0/templating/content-search#global-search
The example use case:
`{% if records|length == 0 %}
{{ searchresult.no_of_results }} results for {{ searchTerm }} found.
results in the runtime error
`Variable "searchresult" does not exist.`
I guess the variable name has not been updated from a previous version of Bolt CMS, but I don't know what it should be.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.