From 7a0a0b523b771645be09ff262ddb163646a0dbf5 Mon Sep 17 00:00:00 2001 From: Loic d'Anterroches Date: Tue, 25 Nov 2008 20:45:27 +0100 Subject: [PATCH] Fixed the right action when listing by tag the downloads. --- src/IDF/Views/Download.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IDF/Views/Download.php b/src/IDF/Views/Download.php index 6f85f90..a486f3f 100644 --- a/src/IDF/Views/Download.php +++ b/src/IDF/Views/Download.php @@ -265,7 +265,7 @@ class IDF_Views_Download 'shortname' => $prj->shortname); $pag->summary = sprintf(__('This table shows the downloads with label %s.'), (string) $tag); $pag->forced_where = new Pluf_SQL('project=%s AND idf_tag_id=%s', array($prj->id, $tag->id)); - $pag->action = array('IDF_Views_Download::index', array($prj->shortname)); + $pag->action = array('IDF_Views_Download::listLabel', array($prj->shortname, $tag->id)); $pag->edit_action = array('IDF_Views_Download::view', 'shortname', 'id'); $list_display = array( 'file' => __('File'),