[Zope-CMF] [HELP] Portal Catalog & sort & blank value

flemaitre@fede.generali.fr flemaitre@fede.generali.fr
Thu, 16 May 2002 11:39:17 +0200


Message en plusieurs parties au format MIME
------=_NextPartTM-000-e9cf805e-1188-4008-9581-98efdf8e7398
Content-Type: multipart/alternative; 
	boundary="=_alternative 00354BAAC1256BBB_="

--=_alternative 00354BAAC1256BBB_=
Content-Type: text/plain; charset="us-ascii"

Hello,

I'm using the portal_catalog with the "sort_on" parameter in order to sort 
the result ==> Ok, it's work great !

But, if a sort on a field named "MetaInfo1", with "portal_catalog( 
REQUEST=REQUEST,  sort_on='MetaInfo1')", the result containts objects 
sorted by "MetaInfo1" but it doesn't return the object for witch MetaInfo1 
is blank ("").

Is there any raison ?


Thanks in advance.
Fred - excuse my english-
--=_alternative 00354BAAC1256BBB_=
Content-Type: text/html; charset="us-ascii"


<br><font size=2 face="sans-serif">Hello,</font>
<br>
<br><font size=2 face="sans-serif">I'm using the portal_catalog with the &quot;sort_on&quot; parameter in order to sort the result ==&gt; Ok, it's work great !</font>
<br>
<br><font size=2 face="sans-serif">But, if a sort on a field named &quot;MetaInfo1&quot;, with &quot;portal_catalog( REQUEST=REQUEST, &nbsp;sort_on='MetaInfo1')&quot;, the result containts objects sorted by &quot;MetaInfo1&quot; but it doesn't return the object for witch MetaInfo1 is blank (&quot;&quot;).</font>
<br>
<br><font size=2 face="sans-serif">Is there any raison ?</font>
<br>
<br>
<br><font size=2 face="sans-serif">Thanks in advance.</font>
<br><font size=2 face="sans-serif">Fred - excuse my english-</font>
--=_alternative 00354BAAC1256BBB_=--

------=_NextPartTM-000-e9cf805e-1188-4008-9581-98efdf8e7398--