Skip to content
Snippets Groups Projects
Commit 9a0023d7 authored by Aria Givi's avatar Aria Givi
Browse files

vor dem schneiden der arrays in kleinbuchstaben umgewandelt

parent 6867ae35
No related branches found
No related tags found
1 merge request!1365Resolve "Filter Options for MetaGer"
...@@ -55,9 +55,9 @@ class Minisucher extends Searchengine ...@@ -55,9 +55,9 @@ class Minisucher extends Searchengine
$additionalInformation = ['date' => $dateVal]; $additionalInformation = ['date' => $dateVal];
$subcollection = explode(' ', $result->xpath('//doc/str[@name="subcollection"]')[0]->__toString()); $subcollection = array_map('strtolower', explode(' ', $result->xpath('//doc/str[@name="subcollection"]')[0]->__toString()));
$minism = explode(', ', simplexml_load_string($this->engine)["subcollections"]); $minism = array_map('strtolower', explode(', ', simplexml_load_string($this->engine)["subcollections"]));
$result = implode(', ',array_intersect($subcollection, $minism)); $result = implode(', ', array_intersect($subcollection, $minism));
$gefVon = "<a href=\"https://metager.de\" target=\"_blank\" rel=\"noopener\">Minisucher: $result </a>"; $gefVon = "<a href=\"https://metager.de\" target=\"_blank\" rel=\"noopener\">Minisucher: $result </a>";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment