Website: Update order of columns on osquery schema table pages. (#17818)

Related to: #17727
Changes:
- Updated the `build-static-content` script to sort the columns of
tables alphabetically by the name of the column when the pages for
fleetdm.com/tables are generated.
This commit is contained in:
Eric
2024-03-22 19:36:06 -05:00
committed by GitHub
parent 6ae3880704
commit 776ea4d7fd
+1 -1
View File
@@ -704,7 +704,7 @@ module.exports = {
}
// Iterate through the columns of the table, we'll add a row to the markdown table element for each column in this schema table
for(let column of table.columns) {
for(let column of _.sortBy(table.columns, 'name')) {
if(!column.hidden) { // If the column is hidden, we won't add it to the final table.
// Create an object for this column to add to the osqueryTables config.
let columnInfoForQueryReports = {