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

Order of job table reverse

    XMLWordPrintable

Details

    Description

      After upgrading to 1.615 the initial order of the job/project table is Z-A instead of A-Z as it was before

      Attachments

        Issue Links

          Activity

            belpk K P added a comment -

            I can confirm this issue; occurs since jenkins 1.615 I believe.

            belpk K P added a comment - I can confirm this issue; occurs since jenkins 1.615 I believe.
            oleg_nenashev Oleg Nenashev added a comment - - edited

            I suppose it's a regression after the fix of JENKINS-17290

            oleg_nenashev Oleg Nenashev added a comment - - edited I suppose it's a regression after the fix of JENKINS-17290
            wolterhis Lars added a comment -

            The InitialSortDir of the job table (and some other tables) should be changed to "up". But I don't know where to do it.

            wolterhis Lars added a comment - The InitialSortDir of the job table (and some other tables) should be changed to "up". But I don't know where to do it.

            The wrong sort order is also used if you look at the page for an individual  job, and click on trend (on the left of the page, above the build history).

            Previously, the trend report showed the newest (at the top) to oldest (at the bottom). In 1.616, this order is reversed. I don't know if this error was also present in 1.615 or not.

            mwebber Matthew Webber added a comment - The wrong sort order is also used if you look at the page for an individual  job, and click on trend (on the left of the page, above the build history). Previously, the trend report showed the newest (at the top) to oldest (at the bottom). In 1.616, this order is reversed. I don't know if this error was also present in 1.615 or not.
            wolterhis Lars added a comment -

            JENKINS-17290 reversed the sort order

            initialsortdir="up" is now ascending -> A-Z
            initialsortdir="down" is now descending -> Z-A

            So the initialsort dir attributes should be reversed too.

            https://github.com/jenkinsci/jenkins/pull/1729 should fix this

            wolterhis Lars added a comment - JENKINS-17290 reversed the sort order initialsortdir="up" is now ascending -> A-Z initialsortdir="down" is now descending -> Z-A So the initialsort dir attributes should be reversed too. https://github.com/jenkinsci/jenkins/pull/1729 should fix this

            Code changed in jenkins
            User: Daniel Beck
            Path:
            war/src/main/webapp/scripts/sortable.js
            http://jenkins-ci.org/commit/jenkins/d5651d171b83567d0d6dda899b789ca1de069385
            Log:
            Merge pull request #1737 from oleg-nenashev/master

            [FIXED JENKINS-28601] Revert "[FIXED JENKINS-17290] - Corrected sort order of tables"

            Compare: https://github.com/jenkinsci/jenkins/compare/7e1a92157ddf...d5651d171b83

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Beck Path: war/src/main/webapp/scripts/sortable.js http://jenkins-ci.org/commit/jenkins/d5651d171b83567d0d6dda899b789ca1de069385 Log: Merge pull request #1737 from oleg-nenashev/master [FIXED JENKINS-28601] Revert " [FIXED JENKINS-17290] - Corrected sort order of tables" Compare: https://github.com/jenkinsci/jenkins/compare/7e1a92157ddf...d5651d171b83
            danielbeck Daniel Beck added a comment -

            Fixed towards 1.618 by reverting the earlier change.

            danielbeck Daniel Beck added a comment - Fixed towards 1.618 by reverting the earlier change.

            People

              Unassigned Unassigned
              wolterhis Lars
              Votes:
              12 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: