Commit 893f6fd
committed
Simplify popular commands sorting logic
Refactored the sorting function for 'popular' commands to sort directly by popularityRank, as all commands now have this property. Removed redundant checks for the 'popular' flag.1 parent dbee211 commit 893f6fd
1 file changed
+2
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
| 351 | + | |
| 352 | + | |
359 | 353 | | |
360 | 354 | | |
361 | 355 | | |
| |||
0 commit comments