1 #set($queryOpts = $params.get("queryOpts"))
2 #if($queryOpts == "group")
4 #set($groupF = $request.params.get('group.field'))
5 <label #annTitle("Add the &group.field parameter. Multiselect is supported")>Group By:
6 <select id="group" name="group.field" multiple="true">
7 ##TODO: Handle multiple selects correctly
9 #if($groupF == '')selected="true"#end>No Group</option>
10 <option value="manu_exact"
11 #if($groupF == 'manu_exact')selected="true"#end>Manufacturer</option>
12 <option value="popularity"
13 #if($groupF == 'popularity')selected="true"#end>Popularity</option>
16 <input type="hidden" name="group" value="true"/>