Changeset 267

Show
Ignore:
Timestamp:
08/20/08 09:43:15 (3 months ago)
Author:
alex
Message:

readded associated images in documents/geoportail

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/camptocamp.org/apps/frontend/modules/documents/actions/actions.class.php

    r263 r267  
    876876        $this->associated_docs = Association::findAllWithBestName($id, $prefered_cultures); 
    877877 
     878        $this->associated_images = Document::fetchAdditionalFieldsFor(  
     879                                       array_filter($this->associated_docs, array('c2cTools', 'is_image')),   
     880                                       'Image', array('filename')); 
    878881    } 
    879882