Skip to content

Commit

Permalink
Issue #2949940 by tbfisher: View fields searchable does not work for …
Browse files Browse the repository at this point in the history
…fields with underscores in field name
  • Loading branch information
tbfisher authored and subhojit777 committed Mar 5, 2018
1 parent 91d1922 commit 9384e96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion listjs.module
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function template_preprocess_listjs(&$variables) {

// Prepare row classes.
if ($field->options['element_default_classes']) {
$classes = 'views-field views-field-' . drupal_html_class($field->field);
$classes = 'views-field ' . drupal_html_class("views-field-{$field->field}");
}
if ($field_classes = $field->element_classes($id)) {
if (!empty($classes)) {
Expand Down

0 comments on commit 9384e96

Please sign in to comment.