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
93dc13e6
Commit
93dc13e6
authored
Jul 03, 2017
by
Dominik Hebeler
Browse files
Feature eingebaut
parent
04517896
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/Models/parserSkripte/Minisucher.php
View file @
93dc13e6
...
...
@@ -10,6 +10,10 @@ class Minisucher extends Searchengine
public
function
__construct
(
\
SimpleXMLElement
$engine
,
\
App\MetaGer
$metager
)
{
parent
::
__construct
(
$engine
,
$metager
);
# Für die Newssuche stellen wir die Minisucher auf eine Sortierung nach Datum um.
if
(
$metager
->
getFokus
()
===
"nachrichten"
){
$this
->
getString
.
=
"sort="
.
$this
->
urlencode
(
"documentDate desc"
);
}
}
public
function
loadResults
(
$content
)
...
...
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