* getProjectStories(), use the story id as the key.

This commit is contained in:
wangchunsheng
2009-11-27 02:04:26 +00:00
parent 571650604f
commit 06ecd7aa1c
+1 -1
View File
@@ -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的列表。*/