Index: PhotoGallery =================================================================== --- PhotoGallery (revision 8782) +++ PhotoGallery (working copy) @@ -12,9 +12,9 @@ XWiki.Admin 1194541221000 -1203539175000 -1203539175000 -2.1 +1207037829000 +1207037829000 +9.1 PhotoGallery @@ -98,7 +98,7 @@ <p> $gallery.display("description","view") </p> - #set($hql = "where doc.web='${doc.space}' and doc.name like '${doc.name}_%'") + #set($hql = "where doc.web='${doc.space}' and doc.name like '${doc.name}_%' order by doc.creationDate desc") #set($photoList = $xwiki.searchDocuments($hql)) <div id="gallery"> @@ -119,7 +119,7 @@ #if($filename.length() > 80) #set($filename = "${filename.substring(0,79)}...") #end - <em>${filename}</em><br /><img src="${imageurl}"/> + <em>${filename}</em><br /><img src="${imageurl}"/><em>${photo.getDate()}</em> </a> #end #end