Skip to content

Commit 9669ccc

Browse files
tchetwinTrott
andauthored
Allow inexact filtering and filtering by LTS (nodejs#4529)
* Allow inexact filtering and filtering by LTS Right now it is not possible to filter by, e.g. `16`, or `Gallium`. This would be useful to take a quick glance at just a single major release. The `"auto"` setting allows for exact matches to be performed by quoting the input, e.g. `"Node.js 16.13.2"`. * Update static/js/previousVersion.js Co-authored-by: Rich Trott <[email protected]>
1 parent 77bb780 commit 9669ccc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

static/js/previousVersion.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ $(function () {
55
pagination: true,
66
perPage: 10,
77
globalSearch: true,
8-
exactMatch: true,
9-
globalSearchExcludeColumns: [2, 3, 4, 6, 7],
8+
exactMatch: 'auto',
9+
globalSearchExcludeColumns: [3, 4, 6, 7],
1010
sortable: false, // We don't allow sorting because it will make orders at mass
1111
inputPlaceholder:
1212
"Type versions of Node.js or npm to search (e.g: 'Node.js 14.17.5' or '6.14.14' ...)"

0 commit comments

Comments
 (0)