Fixed bug showing all the downloads of all the projects in the download area.

svn
Loic d'Anterroches 2008-08-09 23:07:22 +02:00
parent 685d3974e8
commit 88d39faed7
1 changed files with 1 additions and 0 deletions

View File

@ -51,6 +51,7 @@ class IDF_Views_Download
$pag->summary = __('This table shows the files to download.');
$pag->action = array('IDF_Views_Download::index', array($prj->shortname));
$pag->edit_action = array('IDF_Views_Download::view', 'shortname', 'id');
$pag->forced_where = new Pluf_SQL('project=%s', array($prj->id));
$list_display = array(
'file' => __('File'),
array('summary', 'IDF_Views_Download_SummaryAndLabels', __('Summary')),