Commit 129f6d56 authored by nkoth's avatar nkoth

[FIX] If remote field is autoincrement set to itemId it is possible to use the...

[FIX] If remote field is autoincrement set to itemId it is possible to use the ID method of getting the linked item as well
parent 8f1bdaf0
......@@ -81,7 +81,7 @@ class Tracker_Field_ItemsList extends Tracker_Field_Abstract
$technique = 'value';
if ($tracker && $field = $tracker->getField($remoteField)) {
if ($field['type'] == 'r') {
if ($field['type'] == 'r' || $field['type'] == 'q' && $field['options_array'][3] == 'itemId') {
$technique = 'id';
}
}
......
Markdown is supported
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