Vincenzo Barone wrote:

Ho aggiuto l'indice al catalogo getCampo (dove campo è il mio field), lo indicizza correttamente.



Nella form metti campo come nome dell'input nn getCampo .

L'ho fatto, ma c'è qualcosa che non funziona...

=========

my field is called "n_erbario", so I've added this code to search_form:

               <input type="text"
                      id="getN_erbario"
                      name="getN_erbario"
                      size="25"
                      tabindex=""
                      tal:attributes="tabindex tabindex/next;"
                      />

I've created an index called "getN_erbario", FieldIndex type. I've added an object and verified, via the portal_catalog, that the correct value for that field is indexed.

Then I've tried a search with a value of 4 (the indexed value), but the search returns nothing. If I leave it empty, and touch anything in the form, the search returns everything.


=========

Idee?





_______________________________________________
Plone-IT mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/plone-it
http://www.nabble.com/Plone---Italy-f21728.html

Rispondere a