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

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

XMLWordPrintable

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

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

              Created:
              Updated:
              Resolved: