[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] userdb search
Quoting Curt Hauge (chc@mninter.net):
> Hi list,
>
> I am trying to create a list of userdb names. I can get a loop list to
> work, like this:
>
> [calc]$Config->{NoSearch} = ''[/calc]
> [loop search="fi=userdb/ra=yes/tf=lname/ml=9999"]
> [loop-data userdb lname]<br>
> [/loop]
>
> And an in-page search works:
>
> [calc]$Config->{NoSearch} = ''[/calc]
> [search-region more=1
> search="
> fi=userdb
> ra=yes
> ml=20
> "]
> [search-list]
> [item-data userdb lname]<br>
> [/search-list]
> [more-list][more][/more-list]
> [no-match]
> Sorry, no matches for [value mv_searchspec].
> [/no-match]
> [/search-region]
>
> But I would really like to do a complex search from the left sidebar,
> utilizing more-lists, but this results page does not work, it displays
> nothing:
>
> [calc]$Config->{NoSearch} = ''[/calc]
>
> [search-region]
>
> [search-list]
>
> [item-data userdb lname]
>
> [/search-list]
>
> [/search-region]
If it is based on user input from a form, you will need to do it
with an ActionMap, or change the action to "back" and do:
[calc]
$CGI->{mv_todo} = 'search';
$Config->{NoSearch} = '';
[/calc]
[update process]
[search-region]
--
Mike Heins
Perusion -- Expert Interchange Consulting http://www.perusion.com/
phone +1.513.523.7621 <mike@perusion.com>
Few blame themselves until they have exhausted all other possibilities.
-- anonymous