Просмотр исходного кода

#24 timeline: remove title from search fields, since it always contains fullname

Alex Trofimov 11 лет назад
Родитель
Сommit
cf4c219e04
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      modules/boonex/timeline/classes/BxTimelineSearchResult.php

+ 1 - 1
modules/boonex/timeline/classes/BxTimelineSearchResult.php

@@ -22,7 +22,7 @@ class BxTimelineSearchResult extends BxBaseModNotificationsSearchResult
             'title' => _t('_bx_timeline_page_title_browse'),
             'table' => 'bx_timeline_events',
             'ownFields' => array('id', 'owner_id', 'type', 'action', 'object_id', 'object_privacy_view', 'content', 'title', 'description', 'rate', 'votes', 'comments', 'shares', 'date', 'active', 'hidden'),
-            'searchFields' => array('title', 'description'),
+            'searchFields' => array('description'),
             'restriction' => array(
         		'internal' => array('value' => 'timeline_common_post', 'field' => 'type', 'operator' => '='),
         		'active' => array('value' => '1', 'field' => 'active', 'operator' => '='),