Commit ee70ee40 authored by alexpott's avatar alexpott

Issue #2903831 by quicksketch, acbramley, Lendude, longwave, Mirroar, jibran:...

Issue #2903831 by quicksketch, acbramley, Lendude, longwave, Mirroar, jibran: Views attachments missing for some display machine names

(cherry picked from commit 456ea857)
parent 2d710d0b
......@@ -363,9 +363,7 @@ public function useMoreText() {
* {@inheritdoc}
*/
public function acceptAttachments() {
// To be able to accept attachments this display have to be able to use
// attachments but at the same time, you cannot attach a display to itself.
if (!$this->usesAttachments() || ($this->definition['id'] == $this->view->current_display)) {
if (!$this->usesAttachments()) {
return FALSE;
}
......
......@@ -56,10 +56,11 @@ display:
position: 2
display_options:
displays:
page_1: page_1
page_1:
page: page
attachment_1: attachment_1
page:
display_plugin: page
id: page_1
id: page
display_title: Page
position: 1
display_options:
......
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