kopia lustrzana https://github.com/nextcloud/social
Merge branch 'bugfix/773/search_with_#' of https://github.com/StCyr/social into bugfix/773/search_with_#
commit
2745fd1ed4
|
@ -132,6 +132,10 @@ class SearchService {
|
|||
return $result;
|
||||
}
|
||||
|
||||
if (substr($search, 0, 1) === '#') {
|
||||
$search = substr($search, 1);
|
||||
}
|
||||
|
||||
try {
|
||||
$exact = $this->hashtagService->getHashtag($search);
|
||||
$result['exact'] = $exact;
|
||||
|
@ -161,6 +165,7 @@ class SearchService {
|
|||
return $result;
|
||||
}
|
||||
|
||||
// TODO : search using FullTextSearch ?
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue