Problem/Motivation

If we add field with relationship and selecting this field for searching, on filtering search by fields with relationship not work

Proposed resolution

Patch

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Chewie created an issue. See original summary.

Chewie’s picture

Chewie’s picture

Status: Active » Needs review
Chris Matthews’s picture

Version: 7.x-1.1 » 7.x-1.x-dev
Assigned: Chewie » Unassigned
Status: Needs review » Needs work
Issue tags: +Needs reroll

The 3 year old patch in #2 to entityreference_plugin_display.inc does not apply to the latest 7.x-1.x-dev and if still relevant needs a reroll.

Checking patch views/entityreference_plugin_display.inc...
error: while searching for:
            $field = $this->view->query->fields[$this->view->field[$field_alias]->field_alias];
          }
          else {
            $this->view->query->add_field($this->view->field[$field_alias]->options['table'], $this->view->field[$field_alias]->real_field, $this->view->field[$field_alias]->options['field'], array());
            $field = $this->view->query->fields[$this->view->field[$field_alias]->options['field']];
          }

error: patch failed: views/entityreference_plugin_display.inc:81
error: views/entityreference_plugin_display.inc: patch does not apply
rpayanm’s picture

Status: Needs work » Needs review
FileSize
1.09 KB
rpayanm’s picture

Issue tags: -Needs reroll
james.williams’s picture

Status: Needs review » Closed (outdated)

#1898290: Autocompletes for Views that have Fields with Relationship broken (which introduced the ensure_table() call which stopped the original patch here from applying) should have resolved this already.