[Zope-CMF] catalog query problem with Plone 1.05 and path index

mulamba kamahunda kam_mulamba at yahoo.fr
Thu Jan 22 12:09:33 EST 2004


Hi,

On a page template, i have an HTML form with action
queryCatalog.
queryCatalog launch  portal_catalog searchresult with
REQUEST parameters.

My HTML form has fields named with the names of some
indexes entries in the
portal_catalog (meta_type, path) like this:

<input type="hidden" name="meta_type"
value="MonTypeDocument">
      <select name="path"
                     tal:define="lesfolders
python:here.portal_catalog.searchResults(meta_type=['Folder'],sort_on='creat
ed',sort_order='reverse')">
                       <tal:block
tal:repeat="item_projet lesfolders">
                        <option value=""
                        tal:define="chemin
python:item_projet.getObject().absolute_url()"
                        tal:attributes="value chemin"
         
tal:content="item_projet/Title">Répertoires</option>
          </tal:block>
                     </select>

My selectList is OK. it prints the path of the
folders.

research resukts are OK with only the field
"meta_type".

with the fiels  "path" (name of an portal_catalog 
index),no results are
given.

does querying the portal_catalog with path index not
work?

An idea?





_________________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



More information about the Zope-CMF mailing list