[Zope] Re: [Zope-CMF] Searching CMF returns all objects

Josef Meile jmeile@hotmail.com
Thu, 25 Apr 2002 14:16:40 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0005_01C1EC63.D1A5DC70
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I ran into the same problem. Then, I just start to do whatever I found =
and then
I discovered that the CMF guys change the following line of the "search" =
method:

<dtml-let results=3Dportal_catalog>

the new one should be:

<dtml-let results=3D"doFormSearch( REQUEST=3DREQUEST )">

I changed it and it solved my problem.

Hope it helps,
greetings,
Josef.

------=_NextPart_000_0005_01C1EC63.D1A5DC70
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2715.400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; =
mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: DE-CH; =
mso-fareast-language: DE; mso-bidi-language: AR-SA">I=20
ran into the same problem. Then, I just start to do whatever I found and =

then</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; =
mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: DE-CH; =
mso-fareast-language: DE; mso-bidi-language: AR-SA">I=20
discovered that the CMF guys change the following line of the "search"=20
method:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; =
mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: DE-CH; =
mso-fareast-language: DE; mso-bidi-language: =
AR-SA"></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; =
mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: DE-CH; =
mso-fareast-language: DE; mso-bidi-language: AR-SA">&lt;dtml-let=20
results=3Dportal_catalog&gt;</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; =
mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: DE-CH; =
mso-fareast-language: DE; mso-bidi-language: =
AR-SA"></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; =
mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: DE-CH; =
mso-fareast-language: DE; mso-bidi-language: AR-SA">the=20
new one should be:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; =
mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: DE-CH; =
mso-fareast-language: DE; mso-bidi-language: =
AR-SA"></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; =
mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: DE-CH; =
mso-fareast-language: DE; mso-bidi-language: AR-SA">&lt;dtml-let=20
results=3D"doFormSearch( REQUEST=3DREQUEST )"&gt;</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I changed it and it solved my =
problem.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Hope it helps,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>greetings,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Josef.</FONT></DIV></BODY></HTML>

------=_NextPart_000_0005_01C1EC63.D1A5DC70--