ICEfaces
  1. ICEfaces
  2. ICE-8177

ace:dataTable - resetSorting() ignores the sortAscending attribute

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0.BETA1
    • Fix Version/s: 3.1.0.BETA2, 3.1
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 3.1.0 BETA1
    • Assignee Priority:
      P1
    • Affects:
      Compatibility/Configuration

      Description

      An ace:dataTable uses grouping for a single column. The sortAscending attribute for this column is set to true. When a new set of data is retrieved the resetSorting() method is called for the dataTable. When this is called the sortAscending for the groupBy column is set to false or is ignored when the data is displayed.

      1. Case11295Example.zip
        19 kB
        Arran Mccullough
      2. Case11295ExampleWAR.zip
        9.73 MB
        Arran Mccullough

        Activity

        Arran Mccullough created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Salesforce Case [5007000000MGox9]
        Hide
        Arran Mccullough added a comment -

        Test Case that shows issue.

        Steps to reproduce:

        • Load welcomeICEfaces.jsf page.
        • Click on Load List #1 button. Table is shown with the first groupBy column sorted ascending.
        • Click on Load List #2 button. New set of data is shown but the groupBy column no longer is sorted ascending.
        Show
        Arran Mccullough added a comment - Test Case that shows issue. Steps to reproduce: Load welcomeICEfaces.jsf page. Click on Load List #1 button. Table is shown with the first groupBy column sorted ascending. Click on Load List #2 button. New set of data is shown but the groupBy column no longer is sorted ascending.
        Arran Mccullough made changes -
        Attachment Case11295Example.zip [ 14484 ]
        Attachment Case11295ExampleWAR.zip [ 14485 ]
        Ken Fyten made changes -
        Fix Version/s 3.1.0.BETA2 [ 10336 ]
        Fix Version/s 3.1 [ 10312 ]
        Assignee Priority P1
        Assignee Nils Lundquist [ nils.lundquist ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #29255 Wed May 30 16:01:58 MDT 2012 nils.lundquist ICE-8177 - table.resetSorting() now only sets sortAscending to false for columns where groupBy is null.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTable.java
        Hide
        Nils Lundquist added a comment -

        Revision #29255
        Committed by nils.lundquist
        A minute ago
        ICE-8177 - table.resetSorting() now only sets sortAscending to false for columns where groupBy is null.

        Show
        Nils Lundquist added a comment - Revision #29255 Committed by nils.lundquist A minute ago ICE-8177 - table.resetSorting() now only sets sortAscending to false for columns where groupBy is null.
        Nils Lundquist made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #29273 Thu May 31 17:41:32 MDT 2012 nils.lundquist ICE-8177 - SortAscending now Boolean to allow for setSortAscending(null) to revert to default.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTable.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/column/ColumnMeta.java
        Ken Fyten made changes -
        Affects [Compatibility/Configuration]
        Hide
        Ken Fyten added a comment -

        ICE-8177 - SortAscending now Boolean to allow for setSortAscending(null) to revert to default.

        Show
        Ken Fyten added a comment - ICE-8177 - SortAscending now Boolean to allow for setSortAscending(null) to revert to default.
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Nils Lundquist
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: