Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Merge requests
!33
Issue
#3182458
: search results "empty" message: fix skipped heading level
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Closed
Issue
#3182458
: search results "empty" message: fix skipped heading level
issue/drupal-3182458:3182458-fix-heading-level
into
9.2.x
Overview
0
Commits
2
Pipelines
0
Changes
1
Closed
Issue #3182458: search results "empty" message: fix skipped heading level
Alison Jo
requested to merge
issue/drupal-3182458:3182458-fix-heading-level
into
9.2.x
Nov 13, 2020
Overview
0
Commits
2
Pipelines
0
Changes
1
Closes
#3182458
0
0
Merge request reports
Compare
9.2.x
version 2
1b75ef4d
Jan 28, 2022
version 1
c5cd8021
Nov 13, 2020
9.2.x (base)
and
latest version
latest version
9bc0e191
2 commits,
Jan 28, 2022
version 2
1b75ef4d
2 commits,
Jan 28, 2022
version 1
c5cd8021
1 commit,
Nov 13, 2020
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
core/modules/search/src/Controller/SearchController.php
+
1
−
1
View file @ 9bc0e191
Edit in single-file editor
Open in Web IDE
Show full file
@@ -118,7 +118,7 @@ public function view(Request $request, SearchPageInterface $entity) {
'#theme'
=>
[
'item_list__search_results__'
.
$plugin
->
getPluginId
(),
'item_list__search_results'
],
'#items'
=>
$results
,
'#empty'
=>
[
'#markup'
=>
'<
h3
>'
.
$this
->
t
(
'Your search yielded no results.'
)
.
'</
h3
>'
,
'#markup'
=>
'<
p
>'
.
$this
->
t
(
'Your search yielded no results.'
)
.
'</
p
>'
,
],
'#list_type'
=>
'ol'
,
'#context'
=>
[
Loading