Show related products, exclude current product from grid
<p>I have a grid that shows related products in Cakephp2, it works just fine however the same product being viewed shows up in the grid of related products, how can i exclude it?</p>

<p>Here is my artworks controller code: </p>

<pre><code>    public function view($id = null) {
    if (!$this-&gt;Artwork-&gt;exists($id)) {
        throw new NotFoundException(__('Invalid artwork'));
    }
    $options = array('conditions' =&gt; array(
        'Artwork.' . $this-&gt;Artwork-&gt;primaryKey =&gt; $id),
        'recursive' =&gt; 0);
    $artwork = $this-&gt;Artwork-&gt;find('first', $options);
    $this-&gt;set('artwork', $artwork);

    // related artworks
    $status = 'Artwork.status';
    $id = 'Artwork.artist_id';
    $related = $this-&gt;Artwork-&gt;find('all',
        array(
           'limit' =&gt; 4, 
           'conditions' =&gt; array(
             $status =&gt; 1, 
             $id =&gt; $artwork['Artwork']['artist_id'])));

    $this-&gt;set('artworks', $related);
}
</code></pre>