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
491453ae
Commit
491453ae
authored
Apr 13, 2017
by
Phil Höfer
Browse files
Nachrichten-Fokus filter jetzt Ergebnisse ohne Datum
parent
1654c8d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/MetaGer.php
View file @
491453ae
...
...
@@ -181,6 +181,9 @@ class MetaGer
// authorize
// misc (WiP)
if
(
$this
->
fokus
==
"nachrichten"
)
{
$this
->
results
=
array_filter
(
$this
->
results
,
function
(
$v
,
$k
)
{
return
!
is_null
(
$v
->
getRank
());
},
ARRAY_FILTER_USE_BOTH
);
uasort
(
$this
->
results
,
function
(
$a
,
$b
)
{
$datea
=
$a
->
getDate
();
$dateb
=
$b
->
getDate
();
...
...
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