Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
6e0a5342
Commit
6e0a5342
authored
Feb 22, 2018
by
Dominik Hebeler
Browse files
Fehler in den Minisuchern behoben.
parent
b72aa5ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/MetaGer.php
View file @
6e0a5342
...
...
@@ -715,8 +715,8 @@ class MetaGer
{
$minisucherEngine
=
$xml
->
xpath
(
'suma[@name="minism"]'
)[
0
];
$minisucherEngine
[
"subcollections"
]
=
implode
(
", "
,
$subcollections
);
$subcollections
=
urlencode
(
"("
.
implode
(
" OR "
,
$subcollections
)
.
")"
);
$minisucherEngine
[
"formData"
]
=
str_replace
(
"<<SUBCOLLECTIONS>>"
,
$subcollections
,
$minisucherEngine
[
"formData"
]);
$subcollections
String
=
urlencode
(
"("
.
implode
(
" OR "
,
$subcollections
)
.
")"
);
$minisucherEngine
[
"formData"
]
=
str_replace
(
"<<SUBCOLLECTIONS>>"
,
$subcollections
String
,
$minisucherEngine
[
"formData"
]);
$minisucherEngine
[
"formData"
]
=
str_replace
(
"<<COUNT>>"
,
sizeof
(
$subcollections
)
*
10
,
$minisucherEngine
[
"formData"
]);
return
$minisucherEngine
;
}
...
...
Write
Preview
Markdown
is supported
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