I have two content types A and B. B has an entity reference to A. When creating a view to list all nodes from type A, I want to use some exposed filters. One filter would be to give all nodes from type A that have a reference to a certain node of type B. The exposed filter I get is a textfield that needs a nid. I made it autocomplete (via form_alter), but now the value that gets saved is "node title (nid)".
Anyone having the same problem, and knows how to fix it?
EDIT: I found this patch for entity_reference, but it doesn't seem to work. http://drupal.org/node/1492260