Relation Select fields currently show the entity id when it should show the relation id in the title of a Relation Select field.

Comments

steveoliver’s picture

Status: Needs work » Needs review
StatusFileSize
new501 bytes

This is the fix.

steveoliver’s picture

Status: Needs review » Reviewed & tested by the community
+++ b/relation_select.module
@@ -527,7 +527,7 @@ function _relation_select_field_widget_form(&$form, &$form_state, $field, $insta
   elseif (isset($items[$delta]) && is_array($items[$delta])) {
-    $relation_id = $items[$delta]['entity_id'];
+    $relation_id = $items[$delta]['relation_id'];

Looks good ;)

steveoliver’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 7.x-1.x (in 44923d8).

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.