Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
a369a0e3
Commit
a369a0e3
authored
Aug 17, 2012
by
dawehner
Committed by
tim.plunkett
Oct 21, 2012
Browse files
Issue
#1736458
: Remove a couple of debug messages in wizard tests.
parent
14540108
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php
View file @
a369a0e3
...
...
@@ -750,12 +750,19 @@ protected function default_display_sorts_user($form, $form_state) {
$column
=
$column
[
0
];
}
$sorts
[
$column
]
=
array
(
'id'
=>
$column
,
'table'
=>
$table
,
'field'
=>
$column
,
'order'
=>
$sort
,
);
// If the input is invalid, for example when the #default_value contains
// created from node, but the wizard type is another base table, make
// sure it is not added. This usually don't happen if you have js
// enabled.
$data
=
views_fetch_data
(
$table
);
if
(
isset
(
$data
[
$column
][
'sort'
]))
{
$sorts
[
$column
]
=
array
(
'id'
=>
$column
,
'table'
=>
$table
,
'field'
=>
$column
,
'order'
=>
$sort
,
);
}
}
return
$sorts
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment