Skip to content

Commit

Permalink
Allow inexact filtering and filtering by LTS (#4529)
Browse files Browse the repository at this point in the history
* 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 <rtrott@gmail.com>
  • Loading branch information
tchetwin and Trott authored Apr 6, 2022
1 parent 77bb780 commit 9669ccc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/js/previousVersion.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ $(function () {
pagination: true,
perPage: 10,
globalSearch: true,
exactMatch: true,
globalSearchExcludeColumns: [2, 3, 4, 6, 7],
exactMatch: 'auto',
globalSearchExcludeColumns: [3, 4, 6, 7],
sortable: false, // We don't allow sorting because it will make orders at mass
inputPlaceholder:
"Type versions of Node.js or npm to search (e.g: 'Node.js 14.17.5' or '6.14.14' ...)"
Expand Down

0 comments on commit 9669ccc

Please sign in to comment.