Update of /cvsroot/logicampus/logicampus/src/logicreate/services/classmgr
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv1567
Modified Files:
lessonSequence.lcp
Log Message:
Final change to the lessonSequence re-rank logic.
Index: lessonSequence.lcp
===================================================================
RCS file: /cvsroot/logicampus/logicampus/src/logicreate/services/classmgr/lessonSequence.lcp,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** lessonSequence.lcp 23 Oct 2007 19:56:55 -0000 1.11
--- lessonSequence.lcp 25 Oct 2007 18:31:56 -0000 1.12
***************
*** 58,61 ****
--- 58,62 ----
WHERE rank = ".$curRank."
AND class_id = ".$class_id."
+ ORDER BY rank DESC
LIMIT 1";
***************
*** 123,128 ****
//die('no sequences yet');
}
- foreach ($sequences as $objIdx => $obj) {
//change the "type" field into an image representing the mime.
//no reason why i'm changing lobType instead of lobMime
--- 124,129 ----
//die('no sequences yet');
}
+ foreach ($sequences as $objIdx => $obj) {
//change the "type" field into an image representing the mime.
//no reason why i'm changing lobType instead of lobMime
|