title: How can I eliminate duplicate Drupal nodes in a View when one CT references the other?
body: <p><em>Drupal 7 with relevant Modules: Views &amp; Entity Reference</em></p>
  
  <p>I have a view that simply shows the "Teaser" display type of two different Content Type records, we'll say they are Article and Page.</p>
  
  <p>My Article CT has some simple fields that are shown.</p>
  
  <p>My Page CT has a few fields, but also an Entity Reference field (unlimited entries). The Entity Reference field points to other Article nodes.</p>
  
  <p>My View then, as expected, shows each record's Teaser display and of course when a Page record references another Article record, that Article's teaser is shown as part of the Page teaser.</p>
  
  <p>This is great. The problem is, I do not want to show duplicate Article teasers. That means, if a Page references an Article, I don't want to show that same Article teaser as an individual listing.</p>
  
  <p>Think of it like this, I have these Articles:</p>
  
  <ol>
  <li>Article 1</li>
  <li>Article 2</li>
  <li>Article 3</li>
  </ol>
  
  <p>And I have these Pages:</p>
  
  <ol>
  <li>Page 4</li>
  <li>Page 5</li>
  <li>Page 6</li>
  </ol>
  
  <p>Page 4 points -> at Article 1 and Article 2</p>
  
  <p>Page 6 points -> at Article 2</p>
  
  <p><strong><em>TL;DR</em></strong></p>
  
  <p><strong>Right now the view would show something like:</strong></p>
  
  <ul>
  <li>Article 1</li>
  <li>Article 2</li>
  <li>Page 4
  
  <ul>
  <li>Article 1</li>
  <li>Article 2</li>
  </ul></li>
  <li>Page 5</li>
  <li>Page 6
  
  <ul>
  <li>Article 2</li>
  </ul></li>
  <li>Article 3</li>
  </ul>
  
  <p><strong>What I want is this:</strong></p>
  
  <ul>
  <li>Page 4
  
  <ul>
  <li>Article 1</li>
  <li>Article 2</li>
  </ul></li>
  <li>Page 5</li>
  <li>Page 6
  
  <ul>
  <li>Article 2</li>
  </ul></li>
  <li>Article 3</li>
  </ul>
  
  <p>EDIT: Here's a quick diagram of what I'm trying to do. This is using "Content" instead of "Fields" for the View by the way, since there's unequal fields in the View of the two CTs.</p>
  
  <p><img src="https://i.stack.imgur.com/2joEr.jpg" alt="Diagram"></p>