Fix global search

This commit is contained in:
Raimund Schlüßler 2015-05-17 19:45:14 +02:00
parent f85f606c7f
commit 177781e4df
3 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -1349,7 +1349,7 @@ div.percentdone {
}
#searchresults {
padding-top: 0px !important;
margin-top: 20px;
margin-top: 20px !important;
background-color: transparent !important;
}
#searchresults #status {

View file

@ -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;