Forum OpenACS Development: Proposal to add "search_proc" parameter to the search form widget

I wanted to use the search widget for a category tree using the new categories package. Because the data model of categories uses nested sets for hierarchy, and it caches the catetories in an nsv, using a search query to get the search results didn't seem to work.

I added an optional serch_proc parameter that is called by template::data::transform::search with the value that the use has entered as the only parameter.

The procedure has to return a list of lists to be used in the options of a select widget.

Would this be generally useful?