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

Order by term the Hidden Sites page

    XMLWordPrintable

    Details

    • 12 status:
      Resolved
    • 11 status:
      Resolved
    • Test Plan:
      Hide
      • Create at least 3 course sites with different terms.

      On nightly I actually had to set some terms extra in the database to IS_CURRENT. You may need to add more terms to CM_ACADEMIC_SESSION_T to test this out too as the default are ordered alphabetically Also if you do this live you may need to wait for a refresh as it doesn't seem like you can clear the cache to test it?

      So you'd also need to create Fall 2018, Fall 2019 and Spring/Summer 2018 (if testing right now)

      SET SQL_SAFE_UPDATES = 0;
      UPDATE CM_ACADEMIC_SESSION_T SET IS_CURRENT = 1;
      INSERT INTO `sakai_trunk`.`CM_ACADEMIC_SESSION_T` (`VERSION`, `CREATED_BY`, `CREATED_DATE`, `ENTERPRISE_ID`, `TITLE`, `DESCRIPTION`, `START_DATE`, `END_DATE`, `IS_CURRENT`) VALUES ('0', 'admin', '2018-03-19', 'Fall 2019', 'Fall 2019', 'Fall 2019', '2019-09-01', '2020-01-01', 1);
      INSERT INTO `sakai_trunk`.`CM_ACADEMIC_SESSION_T` (`VERSION`, `CREATED_BY`, `CREATED_DATE`, `ENTERPRISE_ID`, `TITLE`, `DESCRIPTION`, `START_DATE`, `END_DATE`, `IS_CURRENT`) VALUES ('0', 'admin', '2018-03-19', 'Fall 2015', 'Fall 2015', 'Fall 2015', '2015-09-01', '2016-01-01', 1);
      SET SQL_SAFE_UPDATES = 1;
      
      
      Show
      Create at least 3 course sites with different terms. On nightly I actually had to set some terms extra in the database to IS_CURRENT. You may need to add more terms to CM_ACADEMIC_SESSION_T to test this out too as the default are ordered alphabetically Also if you do this live you may need to wait for a refresh as it doesn't seem like you can clear the cache to test it? So you'd also need to create Fall 2018, Fall 2019 and Spring/Summer 2018 (if testing right now) SET SQL_SAFE_UPDATES = 0; UPDATE CM_ACADEMIC_SESSION_T SET IS_CURRENT = 1; INSERT INTO `sakai_trunk`.`CM_ACADEMIC_SESSION_T` (`VERSION`, `CREATED_BY`, `CREATED_DATE`, `ENTERPRISE_ID`, `TITLE`, `DESCRIPTION`, `START_DATE`, `END_DATE`, `IS_CURRENT`) VALUES ('0', 'admin', '2018-03-19', 'Fall 2019', 'Fall 2019', 'Fall 2019', '2019-09-01', '2020-01-01', 1); INSERT INTO `sakai_trunk`.`CM_ACADEMIC_SESSION_T` (`VERSION`, `CREATED_BY`, `CREATED_DATE`, `ENTERPRISE_ID`, `TITLE`, `DESCRIPTION`, `START_DATE`, `END_DATE`, `IS_CURRENT`) VALUES ('0', 'admin', '2018-03-19', 'Fall 2015', 'Fall 2015', 'Fall 2015', '2015-09-01', '2016-01-01', 1); SET SQL_SAFE_UPDATES = 1;

      Description

      In preferences, go to the Hidden Sites page.
      The sites are grouped by term, and the terms are not ordered.
      I think that sites should be ordered by term as the more site view does.

        Gliffy Diagrams

          Attachments

          1. HiddenSitesTab.png
            99 kB
            Juan Arcadio Martinez Carceles
          2. Jira.JPG
            82 kB
            Prabhleen Kaur

            Activity

              People

              • Assignee:
                jonespm Matthew Jones
                Reporter:
                juanarcadio Juan Arcadio Martinez Carceles
              • Votes:
                1 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code