Projet

Général

Profil

Révision 4003efde

Ajouté par Assos Assos il y a environ 4 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/views/modules/taxonomy/views_handler_filter_term_node_tid.inc
152 152
      }
153 153
    }
154 154
    else {
155
      $options = array();
155 156
      if (!empty($this->options['hierarchy']) && $this->options['limit']) {
156 157
        $tree = taxonomy_get_tree($vocabulary->vid, 0, NULL, TRUE);
158
        $options = array();
157 159
        if (!empty($tree)) {
158 160
          if (!empty($this->options['optgroups'])) {
159 161
            foreach ($tree as $term) {
......
174 176
        }
175 177
      }
176 178
      else {
177
        $options = array();
178 179
        $query = db_select('taxonomy_term_data', 'td');
179 180
        $query->innerJoin('taxonomy_vocabulary', 'tv', 'td.vid = tv.vid');
180 181
        $query->fields('td');

Formats disponibles : Unified diff