Skip to content

Commit 72a7a9a

Browse files
committed
improve search
1. Update stats wording after the search. 2. Search box only searches for the license key or license name. Reference: aboutcode-org#58 Signed-off-by: Alok Kumar <[email protected]>
1 parent e92d03e commit 72a7a9a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Diff for: docs/index.html

+4-2
Original file line numberDiff line numberDiff line change
@@ -56618,8 +56618,10 @@
5661856618

5661956619
// https://datatables.net/reference/api/search()
5662056620
let searchbox = $("#searchbox");
56621-
searchbox.on("keyup", function() {
56622-
table.search(this.value).draw();
56621+
searchbox.on("keyup", function () {
56622+
table.columns([0, 1])
56623+
.search(this.value)
56624+
.draw();
5662356625

5662456626
// Inject the search value in the browser href
5662556627
if (history.replaceState) {

Diff for: docs/static/datatables/jquery.dataTables-1.10.22.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)