Commit 6845283
committed
[JENKINS-60117] Fix Plugin Manager "Enabled" column sorting
The "Enabled" column in the Installed Plugins table uses `data="${state}"` where state is `true` or `null`.
Since the sortable.js sorts by the `data` attribute alphabetically, plugins with `false` or `null` were not
sorting effectively relative to `true`. This commit changes the `data` attribute for sorting
to `1` (true/active) and `0` (false/inactive) for deterministic boolean sorting.1 parent 396f78b commit 6845283
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
| 189 | + | |
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| |||
0 commit comments