Projet

Général

Profil

Révision 5d12d676

Ajouté par Assos Assos il y a environ 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/views/tests/styles/views_plugin_style.test
185 185
    $expected['Job: Drummer']['rows']['Age: 28']['rows'][2]->views_test_age = '28';
186 186
    $expected['Job: Drummer']['rows']['Age: 28']['rows'][2]->views_test_id = '3';
187 187

  
188

  
189 188
    // Alter the results to support the stripped case.
190 189
    if ($stripped) {
191 190

  
......
206 205
      $view->style_plugin->options['grouping'][1] = array('field' => 'age', 'rendered' => TRUE, 'rendered_strip' => TRUE);
207 206
    }
208 207

  
209

  
210 208
    // The newer api passes the value of the grouping as well.
211 209
    $sets_new_rendered = $view->style_plugin->render_grouping($view->result, $view->style_plugin->options['grouping'], TRUE);
212 210

  
......
261 259
      $count++;
262 260
    }
263 261
  }
262

  
264 263
}

Formats disponibles : Unified diff