Fix global search
This commit is contained in:
parent
f85f606c7f
commit
177781e4df
3 changed files with 3 additions and 3 deletions
|
@ -67,7 +67,7 @@ class SearchController extends \OCP\Search\Provider {
|
|||
$comments = $vtodo->COMMENT;
|
||||
if($comments) {
|
||||
foreach($comments as $com) {
|
||||
if (stripos($com->value, $query) !== false) {
|
||||
if (stripos($com->getValue(), $query) !== false) {
|
||||
// $results[] = new \OCA\Tasks\Controller\Task($id,$calendarId,$vtodo,'COMMENTS',$query,$user_timezone);
|
||||
$results[] = Helper::arrayForJSON($id, $vtodo, $user_timezone, $calendarId);
|
||||
continue 2;
|
||||
|
|
|
@ -1349,7 +1349,7 @@ div.percentdone {
|
|||
}
|
||||
#searchresults {
|
||||
padding-top: 0px !important;
|
||||
margin-top: 20px;
|
||||
margin-top: 20px !important;
|
||||
background-color: transparent !important;
|
||||
}
|
||||
#searchresults #status {
|
||||
|
|
|
@ -1398,7 +1398,7 @@ div.percentdone{
|
|||
}
|
||||
#searchresults{
|
||||
padding-top: 0px !important;
|
||||
margin-top: 20px;
|
||||
margin-top: 20px !important;
|
||||
background-color: transparent !important;
|
||||
#status{
|
||||
padding: 10px 0px 18px !important;
|
||||
|
|
Loading…
Reference in a new issue