Skip to content

Commit 6134d66

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: #58 Signed-off-by: Alok Kumar <[email protected]>
1 parent e92d03e commit 6134d66

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

docs/index.html

Lines changed: 4 additions & 2 deletions
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) {

docs/static/datatables/jquery.dataTables-1.10.22.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/static/spectre-0.5.9.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)