Skip to content

Commit

Permalink
Fixes #37575 - Foreman Table columns sort is inconsistent
Browse files Browse the repository at this point in the history
  • Loading branch information
MariaAga committed Jun 19, 2024
1 parent e2dee7d commit b5588d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const getColumnHelpers = columns => {
const columnBWeight = columns[b]?.weight;
const columnAWeight = columns[a]?.weight;
if (columnBWeight === undefined) {
return -1;
return 0;
}
if (columnAWeight === undefined) {
return 1;
Expand Down

0 comments on commit b5588d4

Please sign in to comment.