diff --git a/controller/searchcontroller.php b/controller/searchcontroller.php index f7ea6f50..9ce88889 100644 --- a/controller/searchcontroller.php +++ b/controller/searchcontroller.php @@ -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; diff --git a/css/style.css b/css/style.css index f5f6b775..5dde1b5c 100644 --- a/css/style.css +++ b/css/style.css @@ -1349,7 +1349,7 @@ div.percentdone { } #searchresults { padding-top: 0px !important; - margin-top: 20px; + margin-top: 20px !important; background-color: transparent !important; } #searchresults #status { diff --git a/css/style.less b/css/style.less index ea796ad9..25389878 100644 --- a/css/style.less +++ b/css/style.less @@ -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;