@@ -32,10 +32,10 @@ var hitTemplate = `
32
32
<h5>
33
33
{{__hitIndex}}.
34
34
<a href="files/{{file_name}}#{{id}}">
35
- {{title}}
35
+ {{document_title}} - {{ title}}
36
36
</a>
37
37
</h5>
38
- {{source_type}} {{content_type}} {{ pubdate}} {{source}} {{Compliance User }}
38
+ Published: {{pubdate}} Effective: {{effdate }}
39
39
</div>
40
40
</div>
41
41
` ;
@@ -110,7 +110,7 @@ search.addWidget(
110
110
search . addWidget (
111
111
instantsearch . widgets . refinementList ( {
112
112
container : '#authority' ,
113
- attributeName : 'authority ' ,
113
+ attributeName : 'regulatory_authority ' ,
114
114
limit : 5 ,
115
115
showMore : true ,
116
116
cssClasses : refinementClasses ,
@@ -147,4 +147,44 @@ search.addWidget(
147
147
} )
148
148
) ;
149
149
150
+ search . addWidget (
151
+ instantsearch . widgets . refinementList ( {
152
+ container : '#compliance_user' ,
153
+ attributeName : 'Compliance User' ,
154
+ limit : 5 ,
155
+ showMore : true ,
156
+ cssClasses : refinementClasses ,
157
+ } )
158
+ ) ;
159
+
160
+ search . addWidget (
161
+ instantsearch . widgets . refinementList ( {
162
+ container : '#content_type' ,
163
+ attributeName : 'content_type' ,
164
+ limit : 5 ,
165
+ showMore : true ,
166
+ cssClasses : refinementClasses ,
167
+ } )
168
+ ) ;
169
+
170
+ search . addWidget (
171
+ instantsearch . widgets . refinementList ( {
172
+ container : '#pubdate' ,
173
+ attributeName : 'pubdate' ,
174
+ limit : 5 ,
175
+ showMore : true ,
176
+ cssClasses : refinementClasses ,
177
+ } )
178
+ ) ;
179
+
180
+ search . addWidget (
181
+ instantsearch . widgets . refinementList ( {
182
+ container : '#effdate' ,
183
+ attributeName : 'effdate' ,
184
+ limit : 5 ,
185
+ showMore : true ,
186
+ cssClasses : refinementClasses ,
187
+ } )
188
+ ) ;
189
+
150
190
search . start ( ) ;
0 commit comments