Merge branch 'master' of git://github.com/fnp/prawokultury
[prawokultury.git] / doc / solr-conf / velocity / queryGroup.vm
1 #set($queryOpts = $params.get("queryOpts"))
2 #if($queryOpts == "group")
3 <div>
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
8             <option value="none"
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>
14           </select>
15         </label>  
16 <input type="hidden" name="group" value="true"/>
17 </div>
18
19 #end