-
Bug
-
Resolution: Fixed
-
Minor
-
Jenkins 2.354
Alpine
Chrome
Java 11
-
-
2.362
I don't know since when, but for some time sorting in plugin manager do not work.
I guess it's after manager upgrade.
Instead of sorting by timestamp it sorts by date string.
https://github.com/jenkinsci/jenkins/blob/afb7c2a96be8aed2b659e9f08677b403082c4799/core/src/main/resources/hudson/PluginManager/table.jelly#L222
I think reason of such behavior is unsupported format and html tag. According to sortable lib this sorter should be used here.
https://github.com/jenkinsci/jenkins/blob/cee0d06770e6bed478e105368ef57371814f3f79/war/src/main/webapp/scripts/sortable.js#L296
In attachment you have a small preview.
- duplicates
-
JENKINS-69126 Sorting plugins by Released date sorts lexicographically instead of chronologically
-
- Closed
-
- is caused by
-
JENKINS-64196 Bad performance on loading plugin manager available page
-
- Closed
-
- is duplicated by
-
JENKINS-69126 Sorting plugins by Released date sorts lexicographically instead of chronologically
-
- Closed
-
- links to
[JENKINS-68750] Plugin Manager does not sort by timestamp (regression in 2.274)
Summary | Original: Plugin Manager do not sort by timestamp | New: Plugin Manager does not sort by timestamp |
Labels | Original: UI bug core plugin-manager regression ui | New: plugin-manager ux |
Attachment | New: pluginManager-263.4.png [ 58235 ] |
Link |
New:
This issue is caused by |
This is not a recent regression. I installed 2.277.4 (the oldest version of Jenkins still supported by the Update Center at the time of this writing) with the default list of suggested plugins and can reproduce the problem there. Because this is not a recent regression I am removing the regression label from this PR.