Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-68750

Plugin Manager does not sort by timestamp (regression in 2.274)

    • 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.

          [JENKINS-68750] Plugin Manager does not sort by timestamp (regression in 2.274)

          Bartosz Nowak created issue -
          Basil Crow made changes -
          Summary Original: Plugin Manager do not sort by timestamp New: Plugin Manager does not sort by timestamp
          Basil Crow made changes -
          Labels Original: UI bug core plugin-manager regression ui New: plugin-manager ux
          Ian Williams made changes -
          Attachment New: pluginManager-263.4.png [ 58235 ]
          Basil Crow made changes -
          Link New: This issue is caused by JENKINS-64196 [ JENKINS-64196 ]
          Basil Crow made changes -
          Labels Original: plugin-manager ux New: plugin-manager regression ux
          Summary Original: Plugin Manager does not sort by timestamp New: Plugin Manager does not sort by timestamp (regression in 2.274)
          Ian Williams made changes -
          Link New: This issue is duplicated by JENKINS-69126 [ JENKINS-69126 ]
          Alexander Brandes made changes -
          Link New: This issue duplicates JENKINS-69126 [ JENKINS-69126 ]
          Alexander Brandes made changes -
          Remote Link New: This issue links to "https://github.com/jenkinsci/jenkins/pull/6929 (Web Link)" [ 28004 ]
          Alexander Brandes made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Alexander Brandes made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]

            Unassigned Unassigned
            dumam Bartosz Nowak
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: