Example #1
0
 public function __construct(SearchResult $result, Set $columns, $item)
 {
     $list = $result->getItemListObject();
     if ($list->isFulltextSearch()) {
         $this->columns[] = new SearchResultItemColumn(t('Score'), $item->getPageIndexScore());
     }
     parent::__construct($result, $columns, $item);
     $this->populateDetails($item);
 }
Example #2
0
 public function __construct(SearchResult $result, Set $columns, $item)
 {
     parent::__construct($result, $columns, $item);
     $this->populateDetails($item);
 }