Skip to content

Commit

Permalink
Sort by name & update index database
Browse files Browse the repository at this point in the history
Signed-off-by: Xiaochao Dong (@damnever) <the.xcdong@gmail.com>
  • Loading branch information
damnever committed Feb 17, 2024
1 parent c1d5c09 commit 7d0da30
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
const table = document.createElement('table');
table.setAttribute("border", "1");
if (contents.length > 0) {
const rows = contents[0]["values"].sort((a, b) => (a[1] > b[1]) ? 1 : -1);
const rows = contents[0]["values"].sort((a, b) => (a[0] > b[0]) ? 1 : -1);
table.innerHTML = '<thead><tr> <th>Distribution</th> <th>URL</th> </tr></thead><tbody>';
rows.forEach(function (row) {
let name = row[0];
Expand Down
Binary file modified static/pigar.sqlite3.bin.gz
Binary file not shown.

0 comments on commit 7d0da30

Please sign in to comment.