changeset 463:782866ee84e0

Jep.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 06 Dec 2013 19:01:10 +0200
parents 52d11e7e9d62
children a678e904633f
files showajax.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/showajax.php	Fri Dec 06 18:58:19 2013 +0200
+++ b/showajax.php	Fri Dec 06 19:01:10 2013 +0200
@@ -130,7 +130,7 @@
       // Get list of slides from active rotation list
       $list = stGetDisplayVar("rotateList");
       $sql = stPrepareSQL(
-        "SELECT * FROM rotationListSlides WHERE list_id=%d ORDER BY order_num",
+        "SELECT * FROM rotationListSlides WHERE list_id=%d ORDER BY order_num,id",
         $list);
 
       if (($slideList = stExecSQL($sql)) !== false)