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

Provide system configuration for initial sorting of tables

    • 5.0.0-beta2

      We need to custimize PMD and check style view of PMD Results or Check style results. Currently when user clicks on PMD Warnings Details are displayed with Package, Files, Category tabs etc., and say if Files tab is clicked,then page is loaded in the ascending order of File names.

      We need to customize to show the Files tab with Total column in descending order as default view.

      Please let us know how this can be done.

      Please look at the attachment for more details.

      Thanks in advance.

          [JENKINS-9602] Provide system configuration for initial sorting of tables

          Ulli Hafner added a comment -

          This is not possible at the moment.

          Since the tables are sortable it is quite inconvenient to define the sort order in the preferences. Maybe it makes sense to change the default behavior...

          Ulli Hafner added a comment - This is not possible at the moment. Since the tables are sortable it is quite inconvenient to define the sort order in the preferences. Maybe it makes sense to change the default behavior...

          Ulli Hafner added a comment -

          (Or the sorting order should be stored in a cookie)

          Ulli Hafner added a comment - (Or the sorting order should be stored in a cookie)

          Aaron Stone added a comment -

          Hi! I'd like to do this, too. My use-case is a dashboard of most-recent-builds. I would like the table either a) initially sorted server-side by providing a query-string (e.g. http://jenkins.local/?table-sort=recent), or b) immediately sorted client-side by providing a fragment identifier (e.g. http://jenkins.local/#table-sort=recent).

          Google has recently done a write-up of how to use this technique for making your results searchable, and all of the principles apply directly to the dashboard use-case.

          https://developers.google.com/webmasters/ajax-crawling/docs/getting-started

          Aaron Stone added a comment - Hi! I'd like to do this, too. My use-case is a dashboard of most-recent-builds. I would like the table either a) initially sorted server-side by providing a query-string (e.g. http://jenkins.local/?table-sort=recent ), or b) immediately sorted client-side by providing a fragment identifier (e.g. http://jenkins.local/#table-sort=recent ). Google has recently done a write-up of how to use this technique for making your results searchable, and all of the principles apply directly to the dashboard use-case. https://developers.google.com/webmasters/ajax-crawling/docs/getting-started

          Ulli Hafner added a comment -

          Can you please create a new issue since this seems to be a totally different requirement. Also please provide some details on where this sorting should be configured.

          Ulli Hafner added a comment - Can you please create a new issue since this seems to be a totally different requirement. Also please provide some details on where this sorting should be configured.

          Ulli Hafner added a comment -

          Sort order is stored in browsers local storage now.

          Ulli Hafner added a comment - Sort order is stored in browsers local storage now.

          Ulli Hafner added a comment -

          Released in 5.0.0-beta2.

          Ulli Hafner added a comment - Released in 5.0.0-beta2.

            drulli Ulli Hafner
            aunnam anil kumar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: