Uploaded image for project: 'Kuali Rice Development'
  1. Kuali Rice Development
  2. KULRICE-5399

Lookup - Should use SortDefinition and perform default sort

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0-m3, 2.3
    • Component/s: Development, Roadmap
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Rice Module:
      KRAD
    • KRAD Feature Area:
      Lookup
    • Application Requirement:
      Rice
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Include in Release Notes?:
      Yes

      Description

      Current LookupView has a list of sorting attributes, this actually needs to use the SortDefinition from the data dictionary or have
      a separate attribute that specifies ascending or descending.

      Also, the sort is not being performed at this point.

        Attachments

          Issue Links

            Activity

            jkneal Jerry Neal (Inactive) created issue -
            jcoltrin Jessica Coltrin (Inactive) made changes -
            Field Original Value New Value
            Rice Lead sgibson
            Hide
            jcoltrin Jessica Coltrin (Inactive) added a comment -

            double-tagging with 2.0.0-b3 for review.

            Show
            jcoltrin Jessica Coltrin (Inactive) added a comment - double-tagging with 2.0.0-b3 for review.
            jcoltrin Jessica Coltrin (Inactive) made changes -
            Fix Version/s 2.0.0-b3 [ 16375 ]
            jcoltrin Jessica Coltrin (Inactive) made changes -
            Start Date
            Fix Date 2011-12-05 [ set to sprint end date ]
            sgibson Scott Gibson (Inactive) made changes -
            Fix Version/s 2.0.0-b4 [ 16376 ]
            Fix Version/s 2.0.0-b3 [ 16375 ]
            sgibson Scott Gibson (Inactive) made changes -
            Start Date
            Fix Date 2011-12-05 2011-12-19 [ set to sprint end date ]
            sgibson Scott Gibson (Inactive) made changes -
            Fix Version/s 2.0.0-b5 [ 16377 ]
            Fix Version/s 2.0.0-b4 [ 16376 ]
            sgibson Scott Gibson (Inactive) made changes -
            Start Date
            Fix Date 2011-12-19 2012-01-09 [ set to sprint end date ]
            sgibson Scott Gibson (Inactive) made changes -
            Fix Version/s 2.1 [ 15812 ]
            Fix Version/s 2.0 [ 14190 ]
            Fix Version/s 2.0.0-b5 [ 16377 ]
            sgibson Scott Gibson (Inactive) made changes -
            Start Date
            Fix Date 2012-01-09 [ set to sprint end date ]
            jcoltrin Jessica Coltrin (Inactive) made changes -
            Fix Version/s 2.2 [ 16411 ]
            Fix Version/s 2.1 [ 15812 ]
            jcoltrin Jessica Coltrin (Inactive) made changes -
            Start Date
            Fix Date [ set to sprint end date ]
            jkneal Jerry Neal (Inactive) made changes -
            Rice Lead sgibson jkneal
            jcoltrin Jessica Coltrin (Inactive) made changes -
            Fix Version/s 2.2-backlog [ 16475 ]
            jcoltrin Jessica Coltrin (Inactive) made changes -
            Start Date
            Fix Date [ set to sprint end date ]
            jcoltrin Jessica Coltrin (Inactive) made changes -
            Fix Version/s 2.2.1 [ 16733 ]
            Fix Version/s 2.2 [ 16411 ]
            Fix Version/s 2.2-backlog [ 16475 ]
            masargen Matt Sargent made changes -
            Link This issue relates to KRRM-144 [ KRRM-144 ]
            jcoltrin Jessica Coltrin (Inactive) made changes -
            Fix Version/s 2.3-backlog [ 16596 ]
            Fix Version/s 2.2.1 [ 16733 ]
            masargen Matt Sargent made changes -
            Component/s Roadmap [ 13903 ]
            cniesen Claus Niesen made changes -
            KRAD Feature Area Lookup [ 14290 ]
            Fix Version/s 2.3 [ 16595 ]
            Fix Version/s 2.3.0-m1 [ 16756 ]
            Fix Version/s 2.3-backlog [ 16596 ]
            Application Requirement KRICE [ 11120 ]
            Rice Lead jkneal cniesen
            cniesen Claus Niesen made changes -
            Rank Ranked lower
            cniesen Claus Niesen made changes -
            Assignee Martin Taylor [ mztaylor ]
            Hide
            jdomeyer Jeff Domeyer (Inactive) added a comment -

            Sorting is mostly working in krad 2.2+

            In krad.widget.js for the createTable function you need to clear the default sorting for datatables, otherwise by default they order by the first column in the table.

            Add this:

             table.dataTable({
            /* Disable initial sort */
            "aaSorting": []
            });
            var oTable = table.dataTable(options);
            
            Show
            jdomeyer Jeff Domeyer (Inactive) added a comment - Sorting is mostly working in krad 2.2+ In krad.widget.js for the createTable function you need to clear the default sorting for datatables, otherwise by default they order by the first column in the table. Add this: table.dataTable({ /* Disable initial sort */ "aaSorting" : [] }); var oTable = table.dataTable(options);
            jcoltrin Jessica Coltrin (Inactive) made changes -
            Fix Version/s 2.3.0-m2 [ 16757 ]
            Fix Version/s 2.3.0-m1 [ 16756 ]
            gptrude Grant Trudel (Inactive) made changes -
            Include in Release Notes? Yes [ 14658 ]
            cniesen Claus Niesen made changes -
            Link This issue discovered by KULRICE-8813 [ KULRICE-8813 ]
            cniesen Claus Niesen made changes -
            Fix Version/s 2.3.0-m3 [ 16758 ]
            Fix Version/s 2.3.0-m2 [ 16757 ]
            mztaylor Martin Taylor (Inactive) logged work - 04/Jun/13 4:01 PM
            • Time Spent:
              45 minutes
               
              performed idea code review; commit code; started review
            mztaylor Martin Taylor (Inactive) made changes -
            Remaining Estimate 0 minutes [ 0 ]
            Time Spent 45 minutes [ 2700 ]
            Worklog Id 85826 [ 85826 ]
            mztaylor Martin Taylor (Inactive) made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            jcoltrin Jessica Coltrin (Inactive) made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            spatterson Shem Patterson (Inactive) made changes -
            Workflow custom [ 100864 ] Copy of custom for rice [ 212885 ]
            spatterson Shem Patterson (Inactive) made changes -
            Workflow Copy of custom for rice [ 212885 ] custom [ 222633 ]
            spatterson Shem Patterson (Inactive) made changes -
            Workflow custom [ 222633 ] Rice Workflow [ 232381 ]

              People

              • Assignee:
                mztaylor Martin Taylor (Inactive)
                Reporter:
                jkneal Jerry Neal (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 45 minutes
                  45m