1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-29 02:59:52 +02:00

[ticket/13713] Introduce priorities based sorting

PHPBB3-13713
This commit is contained in:
lavigor
2018-07-06 07:30:07 +03:00
committed by Marc Alexander
parent 6d849f2cce
commit d195244004
4 changed files with 82 additions and 9 deletions

View File

@@ -54,7 +54,7 @@ class mention
foreach ($this->mention_sources as $source)
{
$names = array_merge($names, $source->get($keyword, $topic_id));
$names += $source->get($keyword, $topic_id);
}
return new JsonResponse(array_values($names));