[Zope-CMF] Réf. : [HELP] Portal Catalog & sort & blank value

flemaitre@fede.generali.fr flemaitre@fede.generali.fr
Thu, 16 May 2002 11:42:05 +0200


Message en plusieurs parties au format MIME
------=_NextPartTM-000-8eddd3e7-6053-40e7-8bea-9e2975e04b00
Content-Type: multipart/alternative; 
	boundary="=_alternative 00358D9BC1256BBB_="

--=_alternative 00358D9BC1256BBB_=
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Sorry,
I have made a mistake : in fact, the result doesn't return objects that=20
don't have the property "MetaInfo1", not the objects witch have this value =

at blank.
So, i think that it is normal.

Fr=E9d.







Fr=E9d=E9ric LEMAITRE
16/05/2002 11:39

=20
        Pour :  Zope-CMF@zope.org
        cc :=20
        Objet : [HELP] Portal Catalog & sort & blank value

Hello,

I'm using the portal=5Fcatalog with the "sort=5Fon" parameter in order to s=
ort=20
the result =3D=3D> Ok, it's work great !

But, if a sort on a field named "MetaInfo1", with "portal=5Fcatalog(=20
REQUEST=3DREQUEST,  sort=5Fon=3D'MetaInfo1')", the result containts objects=
=20
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 00358D9BC1256BBB_=
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


<br><font size=3D2 face=3D"sans-serif">Sorry,</font>
<br><font size=3D2 face=3D"sans-serif">I have made a mistake : in fact, the=
 result doesn't return objects that don't have the property &quot;MetaInfo1=
&quot;, not the objects witch have this value at blank.</font>
<br><font size=3D2 face=3D"sans-serif">So, i think that it is normal.</font>
<br>
<br><font size=3D2 face=3D"sans-serif">Fr=E9d.</font>
<br>
<br>
<br>
<br>
<br>
<br>
<table width=3D100%>
<tr valign=3Dtop>
<td>
<td><font size=3D1 face=3D"sans-serif"><b>Fr=E9d=E9ric LEMAITRE</b></font>
<p><font size=3D1 face=3D"sans-serif">16/05/2002 11:39</font>
<br>
<td><font size=3D1 face=3D"Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=3D1 face=3D"sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Pour : &=
nbsp; &nbsp; &nbsp; &nbsp;Zope-CMF@zope.org</font>
<br><font size=3D1 face=3D"sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc : &nb=
sp; &nbsp; &nbsp; &nbsp;</font>
<br><font size=3D1 face=3D"sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Objet : =
&nbsp; &nbsp; &nbsp; &nbsp;[HELP] Portal Catalog &amp; sort &amp; blank val=
ue</font></table>
<br>
<br><font size=3D2 face=3D"sans-serif">Hello,</font>
<br>
<br><font size=3D2 face=3D"sans-serif">I'm using the portal=5Fcatalog with =
the &quot;sort=5Fon&quot; parameter in order to sort the result =3D=3D&gt; =
Ok, it's work great !</font>
<br>
<br><font size=3D2 face=3D"sans-serif">But, if a sort on a field named &quo=
t;MetaInfo1&quot;, with &quot;portal=5Fcatalog( REQUEST=3DREQUEST, &nbsp;so=
rt=5Fon=3D'MetaInfo1')&quot;, the result containts objects sorted by &quot;=
MetaInfo1&quot; but it doesn't return the object for witch MetaInfo1 is bla=
nk (&quot;&quot;).</font>
<br>
<br><font size=3D2 face=3D"sans-serif">Is there any raison ?</font>
<br>
<br>
<br><font size=3D2 face=3D"sans-serif">Thanks in advance.</font>
<br><font size=3D2 face=3D"sans-serif">Fred - excuse my english-</font>
<br>
<br>
--=_alternative 00358D9BC1256BBB_=--

------=_NextPartTM-000-8eddd3e7-6053-40e7-8bea-9e2975e04b00--