Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-21707

Add sakai.properties to sort drop-downs in WorksiteSetup -> new -> course site

    XMLWordPrintable

    Details

    • Type: (Deprecated) Contributed Patch
    • Status: CLOSED
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.1
    • Fix Version/s: 2.9.0
    • Component/s: Worksite Setup
    • Labels:
      None
    • 2.9 Status:
      Resolved
    • Property addition/change required:
      Yes

      Description

      When using Worksite Setup to create a new course site, the drop-downs are sorted on eids. This patch allows you to the sort orders of each drop down with properties in sakai.properties which will make it easier for an administrator to create a specific course.

      To reproduce this issue:
      Assuming you have rosters ready for the creation of course sites
      1) Log in as an administrator
      2) Go to Worksite Setup
      3) Click on new
      4) Select course site
      5) Notice the Academic Terms are sorted by eids
      6) Choose an Academic Term and click Continue
      7) Notice the Subjects are sorted by eids
      8) Choose a Subject
      9) Notice the Courses are sorted by eids
      10) Choose a Course
      11) Notice the Sections are sorted by eids
      12) Choose a Section

      new sakai.properties:
      ================

      #For each worksitesetup.sort.key property that is specified, the associated worksitesetup.sort.order property must also be specified

      #The following are all comma separated values. If these properties are not present, the drop-downs will be sorted as they were sorted before (on eid, then title).
      #The key on which the sessions are sorted. Possible values are authority, description, eid, endDate, startDate, title
      worksitesetup.sort.key.session=

      #The key on which the courseSets are sorted. Possible values are authority, category, description, eid, parent, title
      worksitesetup.sort.key.courseSet=

      #The key on which the courseOfferings are sorted. Possible values are academicSession, authority, canonicalCourseEid, courseSetEids, description, eid, endDate, startDate, status, title
      worksitesetup.sort.key.courseOffering=

      #The key on which the sections are sorted. Possible values are authority, category, courseOfferingEid, description, eid, enrollmentSet, maxSize, meetings, parent, title
      worksitesetup.sort.key.section=

      #The following are all comma separated lists of sorting orders that correspond to the above keys. They have values of 'asc' or 'desc' for ascending/descending
      #The order on which the sessions are sorted
      worksitesetup.sort.order.session=

      #The order on which the courseSets are sorted
      worksitesetup.sort.order.courseSet=

      #The order on which the courseOfferings are sorted
      worksitesetup.sort.order.courseOfferings=

      #The order on which the sections are sorted
      worksitesetup.sort.order.section=

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  ern Earle R Nietzel
                  Reporter:
                  bbailla2 Brian Baillargeon
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration