Changeset 1678


Ignore:
Timestamp:
Oct 5, 2010, 4:12:47 PM (11 years ago)
Author:
goya
Message:

lien commentaire

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/apps/frontend/modules/solr/actions/actions.class.php

    r1674 r1678  
    206206      $obj = $res['object'];
    207207      $this->results['docs'][$i]['link'] = $obj->getLink();
     208      if (get_class($obj) === 'Commentaire')
     209        $this->results['docs'][$i]['link'] .= "#commentaire_".$obj->id;
    208210      $this->results['docs'][$i]['photo'] = $this->getPhoto($obj);
    209211      $this->results['docs'][$i]['titre'] = $obj->getTitre();
Note: See TracChangeset for help on using the changeset viewer.