You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>A single field or an array of fields to sort by. Each item in the array should be an object containing at least a <code>field</code> property. Optionally, <code>direction</code> can be set to <code>'asc'</code> or <code>'desc'</code>. The order of the array defines the sort precedence.</p>
277
-
278
271
<p>Unless present, a special `$score` field will be automatically added to the beginning of the sort list. This will make results sorted primarily by match quality (descending).</p>
279
-
280
272
<p>You can override the `$score` function. For more information, see the <a href="https://github.com/brianreavis/sifter.js#sifterjs">sifter documentation</a>.</p>
281
273
</td>
282
274
<td valign="top"><code>string|array</code></td>
@@ -420,7 +412,6 @@ $(function() {
420
412
Custom rendering functions. Each function should accept two
421
413
arguments: <code>data</code> and <code>escape</code> and return HTML (string
422
414
or DOM element) with a single root element.
423
-
424
415
The <code>escape</code> argument is a function that takes a string and
425
416
escapes all special HTML characters.
426
417
This is very important to use to prevent XSS vulnerabilities.
0 commit comments