Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
drupal.org
better_exposed_filters
Commits
ce4e5232
Commit
ce4e5232
authored
Feb 17, 2019
by
johnnyvdlaar
Committed by
Rick Hawkins
Feb 17, 2019
Browse files
Issue #2827731 by Johnny vd Laar, NickWilde: Different "line breaks" breaks combine_rewrite
parent
963cd58f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Plugin/views/exposed_form/BetterExposedFilters.php
View file @
ce4e5232
...
...
@@ -1333,7 +1333,7 @@ Title Desc|Z -> A</pre> Leave the replacement text blank to remove an option alt
if
(
!
$reorder
)
{
$order
=
array_keys
(
$options
);
}
$lines
=
explode
(
"
\n
"
,
trim
(
$rewriteSettings
));
$lines
=
preg_split
(
"/(
\r\n
|
\n
|
\r
)/
"
,
trim
(
$rewriteSettings
));
foreach
(
$lines
as
$line
)
{
list
(
$search
,
$replace
)
=
explode
(
'|'
,
$line
);
if
(
!
empty
(
$search
))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment