Last change
on this file since 29542 was 29135, checked in by ak19, 10 years ago |
Part of port from lucene3.3.0 to lucene4.7.2. Solr related. conf and lib folders for solr4.7.2.
|
File size:
996 bytes
|
Line | |
---|
1 | #**
|
---|
2 | * Query settings for grouping by fields,
|
---|
3 | * e.g.: Manufacturer or Popularity
|
---|
4 | *#
|
---|
5 |
|
---|
6 | #set($queryOpts = $params.get("queryOpts"))
|
---|
7 |
|
---|
8 | #if($queryOpts == "group")
|
---|
9 | <div>
|
---|
10 | #set($groupF = $request.params.get('group.field'))
|
---|
11 |
|
---|
12 | <label #annTitle("Add the &group.field parameter. Multiselect is supported")>
|
---|
13 | Group By:
|
---|
14 | <select id="group" name="group.field" multiple="true">
|
---|
15 | ## TODO: Handle multiple selects correctly
|
---|
16 | ## TODO: fix empty / "No Group" selection
|
---|
17 |
|
---|
18 | <option value=""
|
---|
19 | #if($groupF == '')selected="true"#end
|
---|
20 | >
|
---|
21 | No Group
|
---|
22 | </option>
|
---|
23 |
|
---|
24 | <option value="manu_exact"
|
---|
25 | #if($groupF == 'manu_exact')selected="true"#end
|
---|
26 | >
|
---|
27 | Manufacturer
|
---|
28 | </option>
|
---|
29 |
|
---|
30 | <option value="popularity"
|
---|
31 | #if($groupF == 'popularity')selected="true"#end
|
---|
32 | >
|
---|
33 | Popularity
|
---|
34 | </option>
|
---|
35 |
|
---|
36 | </select>
|
---|
37 | </label>
|
---|
38 |
|
---|
39 | <input type="hidden" name="group" value="true"/>
|
---|
40 |
|
---|
41 | </div>
|
---|
42 |
|
---|
43 | #end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.