Merge ea45a4d7d9
into cca2f7059b
This commit is contained in:
commit
38dd014e86
|
@ -890,7 +890,7 @@ class GridFieldDetailForm_ItemRequest extends RequestHandler
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->record && $this->record->ID) {
|
if ($this->record && $this->record->ID) {
|
||||||
$title = ($this->record->Title) ? $this->record->Title : "#{$this->record->ID}";
|
$title = ($this->record->Title) ? $this->record->obj('Title') : "#{$this->record->ID}";
|
||||||
$items->push(ArrayData::create([
|
$items->push(ArrayData::create([
|
||||||
'Title' => $title,
|
'Title' => $title,
|
||||||
'Link' => $this->Link()
|
'Link' => $this->Link()
|
||||||
|
|
Loading…
Reference in New Issue