[cpif] r355 - trunk/frontend-web

svn at argo.es svn at argo.es
Mon Sep 10 20:51:06 CEST 2007


Author: jcea
Date: Mon Sep 10 20:51:02 2007
New Revision: 355

Log:
Mas soporte de hilos 'sticky'

Modified:
   trunk/frontend-web/url_indice.py

Modified: trunk/frontend-web/url_indice.py
==============================================================================
--- trunk/frontend-web/url_indice.py	(original)
+++ trunk/frontend-web/url_indice.py	Mon Sep 10 20:51:02 2007
@@ -74,7 +74,7 @@
   if first_page:
     h=database.listado_stickies_personal(conn,usuario,metatag=metatag)
     if len(h) : # if we touch this data schema, we must update the "normal thread" one too.
-      d["stickies"].append((None,[(
+      d["stickies"].extend([(
         id,
         title,
         hilos[id]["TS"],
@@ -82,7 +82,7 @@
         punto_no_leido.get(id,None), # El punto donde el usuario no ha leido
         hilos[id]["num_mensajes"],
         mon,
-        ro) for id,title,not_read,mon,ro in h]))
+        ro) for id,title,not_read,mon,ro in h])
   
   while (num_hilos<50) and (fecha>=fecha_min) :
     ts2=timegm(fecha)



More information about the cpif mailing list