Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-5399

Lookup - Should use SortDefinition and perform default sort

    Details

    • Type: Task Task
    • Status: Closed Closed
    • Priority: Major 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
    • Similar issues:
      KULRICE-10039Create a better Lab View for Lookup Default Sort
      KULRICE-10798Create Functional Test for KRAD Demo Labs Lookups - Default Sort
      KULRICE-13082Make sortAs on DataField less strict to allow for custom sorts
      KULRICE-8739Perform analysis of the KNS lookup framework
      KULRICE-3689Improve performance of IdentityArchiveService interactions
      KULRICE-9901KNS Sort Decending doesn't work
      KULRICE-6099KRMS (or KRAD): Data tables on KRMS lookups not sorting on column headings
      KULRICE-10204Fix lookup sort
      KULRICE-13294Inconsistency in KRMS lookup default value maintenance link render/hide property
      KULRICE-9884Column sort on some columns doesn't work
    • 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.

        Issue Links

          Activity

          Hide
          Jessica Coltrin (Inactive) added a comment -

          double-tagging with 2.0.0-b3 for review.

          Show
          Jessica Coltrin (Inactive) added a comment - double-tagging with 2.0.0-b3 for review.
          Hide
          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
          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);

            People

            • Assignee:
              Martin Taylor (Inactive)
              Reporter:
              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

                  Structure Helper Panel