[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nuxeo-checkins] CVS: NuxForum Posting.py,1.6,1.7
From: |
Juan David Ibáñez Palomar |
Subject: |
[Nuxeo-checkins] CVS: NuxForum Posting.py,1.6,1.7 |
Date: |
Thu, 16 May 2002 10:09:36 -0400 |
Update of /cvsroot/nuxeo/NuxForum
In directory subversions:/tmp/cvs-serv30174
Modified Files:
Posting.py
Log Message:
Fix..
Index: Posting.py
===================================================================
RCS file: /cvsroot/nuxeo/NuxForum/Posting.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** Posting.py 15 May 2002 16:41:42 -0000 1.6
--- Posting.py 16 May 2002 14:09:32 -0000 1.7
***************
*** 80,89 ****
""" """
manager = getSecurityManager()
postings = []
! for x in range(self.count):
! posting = getattr(self, str(x))
if manager.checkPermission('View', posting):
postings.append(posting)
- postings.reverse()
return postings
--- 80,92 ----
""" """
manager = getSecurityManager()
+
+ ids = self.objectIds()
+ ids.sort()
+
postings = []
! for id in ids:
! posting = getattr(self, id)
if manager.checkPermission('View', posting):
postings.append(posting)
return postings
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Nuxeo-checkins] CVS: NuxForum Posting.py,1.6,1.7,
Juan David Ibáñez Palomar <=
- Prev by Date:
[Nuxeo-checkins] CVS: NuxForum/ui Article_add.zpt,1.1.1.1,1.2 Comment_add.zpt,1.1.1.1,1.2
- Next by Date:
[Nuxeo-checkins] CVS: NuxForum/ui Forum_index.zpt,1.4,1.5
- Previous by thread:
[Nuxeo-checkins] CVS: NuxForum/ui Article_add.zpt,1.1.1.1,1.2 Comment_add.zpt,1.1.1.1,1.2
- Next by thread:
[Nuxeo-checkins] CVS: NuxForum/ui Forum_index.zpt,1.4,1.5
- Index(es):