plone/archetypes.referencebrowserwidget — pull request #3 by gbastien (2012-07-19 07:34:19+00:00)
Title: search_index is not taken into account because not passed by the js

Hi,

I would like to merge these changes because for now, the search_index attribute (the dropdown list of selectable indexes next to the search input in the refbrowser popup) is not taken into account. If you test with the RefBrowserDemo as it is now, with the second field "MultiRef", if you select another index than "SearchableText", after searching (on Title for example), it systematically fall back to SearchableText and the search is actually made with the SearchableText index every times...

So here, if a search_index is selected, we consider it in referencebrowser.js do_atref_search.

Thank you!

Gauthier