Révision 6eb8d15f
Ajouté par Assos Assos il y a presque 10 ans
drupal7/sites/all/modules/views/plugins/views_plugin_exposed_form.inc | ||
---|---|---|
173 | 173 |
$view = $this->view; |
174 | 174 |
$exposed_data = isset($view->exposed_data) ? $view->exposed_data : array(); |
175 | 175 |
$sort_by = isset($exposed_data['sort_by']) ? $exposed_data['sort_by'] : NULL; |
176 |
if (!empty($sort_by)) { |
|
176 |
if (!empty($sort_by) && $this->view->style_plugin->build_sort()) {
|
|
177 | 177 |
// Make sure the original order of sorts is preserved |
178 | 178 |
// (e.g. a sticky sort is often first) |
179 | 179 |
if (isset($view->sort[$sort_by])) { |
Formats disponibles : Unified diff
Weekly update of contrib modules