Changeset 416 for trunk


Ignore:
Timestamp:
11/16/11 22:18:19 (9 years ago)
Author:
sander
Message:

Fixed a query bug that caused far too much data to load for the front page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/www/app/controllers/requests_controller.php

    r385 r416  
    284284 
    285285                // Get all the other information we need to build the front page 
    286                 $platforms = $this->Worker->Factory->Operatingsystem->Platform->find('all'); 
    287                 $doctypes = $this->Worker->Application->Doctype->find('all'); 
    288                 $formats = $this->Format->find('list'); 
    289                 $mimetypes = $this->Mimetype->find('all'); 
     286                $platforms = $this->Worker->Factory->Operatingsystem->Platform->find('all', array('recursive' => -1)); 
     287                $doctypes = $this->Worker->Application->Doctype->find('all', array('recursive' => -1)); 
     288                $formats = $this->Format->find('list', array('recursive' => -1)); 
     289                $mimetypes = $this->Mimetype->find('all', array('recursive' => -1)); 
    290290 
    291291                // Build a format map which consists of sets of active applications 
Note: See TracChangeset for help on using the changeset viewer.