[Bolt 5] Documentation for global search contains reference to non-existent variable
@bobdenotter is already working on this.
Since Mar 1, 2022.
Assessment
This issue has not been assessed yet.
Description
See https://docs.boltcms.io/5.0/templating/content-search#global-search
The example use case:
{% if records|length == 0 %}
<p>
{{ searchresult.no_of_results }} results for {{ searchTerm }} found.
</p>
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.
- Dominant language
- PHP
- Stars
- 45
- Forks
- 189
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from bolt/docs
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 1/5 1-3 hours Newbie friendliness 62/100
-
Outdated Roadmap link in `https://docs.boltcms.io/other/contributing#step-2-rfc-moved-to-roadmap` Open
Difficulty 1/5 Under an hour Newbie friendliness 50/100
Similar issues
-
priority: p3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
googleapis/librarian#7636 ·
-
0. Needs triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nextcloud/fulltextsearch#1011 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
phpstan/phpstan-doctrine#794 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Automattic/static-site-importer#1767 ·