Re: [Zope] Sort broken on zope.org site...
Darin Lee wrote: >Zopistas, > >Following up on my question yesterday, regarding sorting on the >results columns of keyword/text based searches, I have noticed that >if I do a text search on the zope.org site and then try to sort on a >column - the same error comes up: > >Error type: TypeError >Error value: loop over non-sequence > >I looked through the collector - but couldn't find anything related >to this issue. Does anyone have any insight on how to fix this? > >Thanks, >-Darin Lee Actually, I believe it's a known bug. I hit this problem on zope.org last week and searched the collector before going to report a bug. I found an entry that said something like "Catalog sort_on fails with Keyword index". Don't have the link, but I'm pretty sure it's in there somewhere. Itai -- Itai Tavor"Je sautille, donc je suis." C3Works[EMAIL PROTECTED] - Kermit the Frog "If you haven't got your health, you haven't got anything" ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] sort
Mechtild try -Andy > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of > Mechtild Hofmann > Sent: 22 November 2000 09:33 > To: [EMAIL PROTECTED] > Subject: [Zope] sort > > > Hello again, > > I want to sort catalog results e.g. by title alphabetical. But when I type > sort_on='title' I see the titles in order by bobobase-modification-time. > What I am doing wrong ? > > Thanks for help > > Mechtild-- > > in der Heimat tut sich was: http://www.wolterdingen.de > konteXXt - Web-Konzept-Text-Design > 07705 / 919391 > > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) > ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] sort=id, _.map, _.lambda woes
Marco Mariani writes: > > > where "id" is a filename representing a number. > Of course, sort uses it like a string and sorts it wrong. > > Maybe, since sortexpr= is not implemented (yet?) I could > get away with: > > > > but _.map doesn't exist (nor _.lambda. Why?) You would not need _.lambda. "lambda" is not a function but a keyword in Python expressions. It, therefore, is not required in "_" to be used. Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )