From 647e8e8ff78d12750cb56d81e0539ac2066177dd Mon Sep 17 00:00:00 2001
From: Jerenus <jun.zheng@insready.com>
Date: Thu, 21 Mar 2013 15:00:01 +0800
Subject: [PATCH] Issue #1793662 by Jerenus: Fixed view all project cases
 link.

---
 casetracker.module |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/casetracker.module b/casetracker.module
index 1c43065..249d29e 100755
--- a/casetracker.module
+++ b/casetracker.module
@@ -1076,7 +1076,7 @@ function theme_casetracker_project_summary($variables) {
     );
   }
   $operations = implode(' | ', $operations); // ready for printing in our Operations table cell - delimited by a pipe. nonstandard.
-  $rows[] = array(t('Operations:'), $operations . ' | ' . l(t('view all project cases'), 'casetracker', array('query' => array('destination' => 'keys=&pid=' . $project->nid))));
+  $rows[] = array(t('Operations:'), $operations . ' | ' . l(t('view all project cases'), 'casetracker', array('query' => array('destination' => '', 'keys' => '', 'pid' => $project->nid))));
 
   $output = '<div class="project">';
   $output .= theme('table', array('header' => NULL, 'rows' => $rows, 'attributes' => array('class' => 'summary')));
@@ -1275,4 +1275,4 @@ function db_type_placeholder($type) {
   // There is no safe value to return here, so return something that
   // will cause the query to fail.
   return 'unsupported type ' . $type . 'for db_type_placeholder';
-}
\ No newline at end of file
+}
-- 
1.7.10.4

