[quills-dev] [Quills Issue Tracker] New issue: #74 - weblog.getCategories() doesn't return a sorted list
webmaster at plone.org webmaster at plone.orgSat Dec 2 06:30:51 UTC 2006
- Previous message: [quills-dev] Re: [Quills Issue Tracker] New issue: #73 - class weblog-day-title was dropped from the macro
- Next message: [quills-dev] [Quills Issue Tracker] New issue: #75 - Quills overrides BaseSchema and BaseFolderSchema allowDiscussion
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
A new issue has been submitted to the **Issue tracker** tracker by **Olivier Ozoux** and awaits confirmation. Issue Information ----------------- Issue weblog.getCategories() doesn't return a sorted list (http://plone.org/products/quills/issues/74) **Issue Details**:: The getCategories() function doesn't return an alphabetically sorted list of keywords. this fixes it: def _getKeywordsForBlogEntries(self): """Return a sequence of all keywords that are associatd with IWeblogEntry instances contained in this IWeblog. """ entries = self.getAllEntries() # Use dict rather than list to avoid duplicates keywords = {} for entry in entries: for kw in entry.Subject: keywords[kw] = None keys = keywords.keys() keys.sort() return keys \* This is an automated email, please do not reply - plone.org Administrator -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.etria.com/pipermail/quills-dev/attachments/20061202/a76a4e23/attachment.htm
- Previous message: [quills-dev] Re: [Quills Issue Tracker] New issue: #73 - class weblog-day-title was dropped from the macro
- Next message: [quills-dev] [Quills Issue Tracker] New issue: #75 - Quills overrides BaseSchema and BaseFolderSchema allowDiscussion
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the quills-dev mailing list