Commit 98e15a58 authored by drumm's avatar drumm
Browse files

The field is always field_project_machine_name in the independent EntityFieldQuery

parent 85303bcb
......@@ -28,7 +28,7 @@ class project_plugin_argument_validate_project_nid extends views_plugin_argument
else {
// Search the machine name field.
$query
->fieldCondition($field['field_name'], 'value', $argument);
->fieldCondition('field_project_machine_name', 'value', $argument);
}
$result = $query->execute();
if (empty($result['node'])) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment