Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scanner
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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
scanner
Commits
dad10ccd
Commit
dad10ccd
authored
1 year ago
by
Damien McKenna
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3442036
by DamienMcKenna: Search result list is encoded incorrectly.
parent
8fc0e9fa
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.txt
+1
-0
1 addition, 0 deletions
CHANGELOG.txt
scanner.theme.inc
+3
-3
3 additions, 3 deletions
scanner.theme.inc
with
4 additions
and
3 deletions
CHANGELOG.txt
+
1
−
0
View file @
dad10ccd
...
...
@@ -4,6 +4,7 @@ Search and Replace Scanner 7.x-1.x-dev, 2024-xx-xx
the errors/warnings reported by PHP_CodeSniffer.
#3440474 by DamienMcKenna: Move functionality into separate pages.inc file.
#3440512 by DamienMcKenna: Search/replace on summary field doesn't work.
#3442036 by DamienMcKenna: Search result list is encoded incorrectly.
Search and Replace Scanner 7.x-1.1, 2018-11-09
...
...
This diff is collapsed.
Click to expand it.
scanner.theme.inc
+
3
−
3
View file @
dad10ccd
...
...
@@ -38,9 +38,9 @@ function theme_scanner_item($variables) {
$item
=
$variables
[
'item'
];
$item
[
'count'
]
=
$item
[
'count'
]
>
0
?
$item
[
'count'
]
:
'One or more'
;
$output
.
=
'<li class="scanner-result">'
;
$title
=
t
(
'#
%
nid:
%
title'
,
array
(
'
%
nid'
=>
$item
[
'nid'
],
'
%
title'
=>
$item
[
'title'
],
$title
=
t
(
'#
@
nid:
@
title'
,
array
(
'
@
nid'
=>
$item
[
'nid'
],
'
@
title'
=>
$item
[
'title'
],
));
$output
.
=
'<span class="scanner-title">'
.
l
(
$title
,
'node/'
.
$item
[
'nid'
])
.
'</span><br />'
;
$output
.
=
'<span class="scanner-info">['
.
$item
[
'count'
]
.
' matches in '
.
$item
[
'type'
]
.
' '
.
$item
[
'field_label'
]
.
' field:]</span><br />'
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment