Skip to content
Snippets Groups Projects
Commit a369a0e3 authored by Daniel Wehner's avatar Daniel Wehner Committed by Tim Plunkett
Browse files

Issue #1736458: Remove a couple of debug messages in wizard tests.

parent 14540108
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -750,12 +750,19 @@ protected function default_display_sorts_user($form, $form_state) { ...@@ -750,12 +750,19 @@ protected function default_display_sorts_user($form, $form_state) {
$column = $column[0]; $column = $column[0];
} }
$sorts[$column] = array( // If the input is invalid, for example when the #default_value contains
'id' => $column, // created from node, but the wizard type is another base table, make
'table' => $table, // sure it is not added. This usually don't happen if you have js
'field' => $column, // enabled.
'order' => $sort, $data = views_fetch_data($table);
); if (isset($data[$column]['sort'])) {
$sorts[$column] = array(
'id' => $column,
'table' => $table,
'field' => $column,
'order' => $sort,
);
}
} }
return $sorts; return $sorts;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment