Commit 39eb6847 by 冷斌

fix bug

parent 1f80e647
...@@ -2306,7 +2306,7 @@ class HomeAction extends UserAction ...@@ -2306,7 +2306,7 @@ class HomeAction extends UserAction
break; break;
case '4': case '4':
// 题目收藏 // 题目收藏
$list = D("ZyCollection", 'classroom')->where(['source_table_name' => 'exams_question', 'uid' => $map['uid']])->findpage(); $list = D("ZyCollection", 'classroom')->where(['source_table_name' => 'exams_question', 'uid' => $map['uid']])->order('ctime desc')->findpage();
if ($list['data']) { if ($list['data']) {
$mod = D("ExamsQuestion", 'exams'); $mod = D("ExamsQuestion", 'exams');
foreach ($list['data'] as &$val) { foreach ($list['data'] as &$val) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment