git: ecb3e66e92 - main - ports.cgi always sort by release on the client side

Wolfram Schneider <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by wosch:

URL: https://cgit.FreeBSD.org/doc/commit/?id=ecb3e66e92efc7606ad2c182778054fc0efecd37

commit ecb3e66e92efc7606ad2c182778054fc0efecd37
Author:     Wolfram Schneider <[email protected]>
AuthorDate: 2026-02-02 07:43:31 +0000
Commit:     Wolfram Schneider <[email protected]>
CommitDate: 2026-02-02 07:44:02 +0000

    ports.cgi always sort by release on the client side
---
 website/content/en/cgi/ports.cgi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/website/content/en/cgi/ports.cgi b/website/content/en/cgi/ports.cgi
index ec920242da..9c79aa96ca 100755
--- a/website/content/en/cgi/ports.cgi
+++ b/website/content/en/cgi/ports.cgi
@@ -98,6 +98,9 @@ function sort_table(column_index) {
     // re-append in sorted order
     rows.forEach(row => tbody.appendChild(row));
 }
+
+// always sort by release
+document.addEventListener("DOMContentLoaded", function() { sort_table(0) });
 </script>
 
 EOF
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.