[Zope] Integer on portal_catalog.searchResults

TrashMan trashman@httconsulting.com
Thu, 17 Jan 2002 00:51:18 +0100


Hi,

I want to do a search on the portal_catalog where a key is an
integer....but.....i don't find the solution!

If i do

<dtml-var numberpumps>

I have 
 32500

If i do

  <dtml-in "portal_catalog.searchResults(Type='engine',
                                          number='numberpumps',
                                          review_state='published' )" >

  ...

  </dtml-in>

I found all the engine-object.

The problem is i pass to searchResults '32500' and not 32500

I've tried with 

<dtml-call REQUEST.set('Type', 'engine')>
<dtml-call REQUEST.set('number', numberpumps)>
<dtml-in "portal_catalog.searchResults()">
...
</dtml-in>

But i've the same results!

Pratically number in REQUEST is a string and not an integer!!

Do you have some solutions??


Thanks

Massimiliano