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

            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);
            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.

              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