Project

General

Profile

Revision 44d2e178

Added by Assos Assos over 8 years ago

Weekly update of contrib modules

View differences:

drupal7/sites/all/modules/views/modules/search/views_handler_argument_search.inc
56 56
      $join->construct('search_total', $search_index, 'word', 'word');
57 57
      $search_total = $this->query->add_relationship('search_total', $join, $search_index);
58 58

  
59
      $this->search_score = $this->query->add_field('', "SUM($search_index.score * $search_total.count)", 'score', array('aggregate' => TRUE));
59
      $this->search_score = $this->query->add_field('', "$search_index.score * $search_total.count", 'score', array('aggregate' => TRUE, 'function' => 'sum'));
60 60

  
61 61
      if (empty($this->query->relationships[$this->relationship])) {
62 62
        $base_table = $this->query->base_table;

Also available in: Unified diff