* fix the error of the order link of story view.

This commit is contained in:
wangchunsheng
2010-02-04 08:08:17 +00:00
parent 875134a78c
commit 91827de2a5
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ class project extends control
$this->assign('stories', $stories);
$this->assign('storyTasks', $storyTasks);
$this->assign('tabID', 'story');
$this->assign('pager', $pager->get());
$this->assign('pager', $pager);
$this->assign('orderBy', $orderBy);
$this->assign('users', $users);
+2 -2
View File
@@ -43,7 +43,7 @@ $(document).ready(function()
<div class='yui-d0'>
<table class='table-1 tablesorter fixed colored'>
<?php $vars = "projectID=$project->id";?>
<?php $vars = "projectID=$project->id&orderBy=%s&recTotal={$pager->recTotal}&recPerPage={$pager->recPerPage}";?>
<thead>
<tr class='colhead'>
<th><?php common::printOrderLink('id', $orderBy, $vars, $lang->story->id);?></th>
@@ -90,6 +90,6 @@ $(document).ready(function()
<?php endforeach;?>
</tbody>
</table>
<div class='a-right'><?php echo $pager;?></div>
<?php $pager->show();?>
</div>
<?php include '../../common/footer.html.php';?>