From 06ecd7aa1c3f05037772129284a6846c4a121adf Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Fri, 27 Nov 2009 02:04:26 +0000 Subject: [PATCH] * getProjectStories(), use the story id as the key. --- module/story/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/story/model.php b/module/story/model.php index dc179087d1..1d998f7b91 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -104,7 +104,7 @@ class storyModel extends model ->leftJoin(TABLE_STORY)->alias('t2')->on('t1.story = t2.id') ->where('t1.project')->eq((int)$projectID) ->orderBy($orderBy) - ->page($pager)->fetchAll(); + ->page($pager)->fetchAll('id'); } /* 获得某一个项目相关的需求id=>title的列表。*/