Title: Discussion with pj about [search] Usertag in Action Maps
Topics: blog, Interchange
Date: 2007-03-09

Action maps are a nice way in Interchange to turn human readable links into Interchange searches.

The required syntax for triggering a search is far from nice:

$CGI->{co} = 1;

$CGI->{fi} = 'products';

$CGI->{st} = 'db';

$CGI->{sf} = join "\0", 'prod_group', 'category';

$CGI->{op} = join "\0", 'eq', 'eq';

$CGI->{se} = join "\0", $prod_group, $category;

$CGI->{sp} = 'results';

$CGI->{mv_todo} = 'search';


return (1, 'results');

I agreed with pj on IRC that a [search] usertag would make things more easier to the enduser.