[ic] Search returning one item going straight to flypage

Dan Browning interchange-users@interchange.redhat.com
Wed May 29 20:15:01 2002


At 04:53 PM 5/29/2002 -0700, you wrote:
>Dear List,
>
>Has anyone figured out how to get IC to do this:
>
>If a search returns only one item, send the user directly to the flypage for
>that item.
>
>Thanks,
>
>Russell

Something like:

[if cgi mv_match_count == 1]
         [bounce href="[item-code]"]
[/if]

But I can't remember the name of the variable, mv_match_count, 
mv_search_results, or something like that.


+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Dan Browning, Kavod Technologies <db@kavod.com>
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Q:  How many Zen masters does it take to screw in a light bulb?
A:  None.  The Universe spins the bulb, and the Zen master stays out
     of the way.