Skip to content

Commit e999079

Browse files
committed
swicth to a forked list.js with bug fixes
Fixes #46
1 parent ba10247 commit e999079

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
- store compressed frontend assets in the SQLPage binary:
1010
- smaller SQLPage binary
1111
- Faster page loads, less work on the server
12+
- Fix a bug where table search would fail to find a row if the search term contained some special characters.
13+
- Fixes https://github.com/lovasoa/SQLpage/issues/46
1214

1315
## 0.9.2 (2023-08-01)
1416

sqlpage/sqlpage.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* !include https://cdn.jsdelivr.net/npm/@tabler/[email protected]/dist/js/tabler.min.js */
2-
/* !include https://cdn.jsdelivr.net/npm/[email protected].1/dist/list.min.js */
2+
/* !include https://cdn.jsdelivr.net/npm/list.js-fixed@2.3.2/dist/list.min.js */
33
/* !include https://cdn.jsdelivr.net/npm/[email protected]/dist/apexcharts.min.js */
44

55
function sqlpage_chart() {
@@ -145,6 +145,7 @@ function sqlpage_table(){
145145
for (const r of document.getElementsByClassName("data-list")) {
146146
new List(r, {
147147
valueNames: [...r.getElementsByTagName("th")].map(t => t.textContent),
148+
searchDelay: 100,
148149
indexAsync: true
149150
});
150151
}

0 commit comments

Comments
 (0)