Uploaded image for project: 'Mocca Calendar Application'
  1. Mocca Calendar Application
  2. MOCCACAL-115

Sorting and filtering don't work for the default calendar page

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 2.5.3
    • application
    • None
    • Windows 10 Pro 64 bit, Chrome v.60, using local instance configured with ORACLE 11.2

    Description

      Prerequisites: Beside the default existing calendar "Other Events", at least 3 more calendars are created with the following names: "Calendar 1", "Calendar 2", "Personal".

      STEPS TO REPRODUCE

      1. Go to Mocca Calendar's main page
      2. Under "Overview of all calendars" Section, sort the entries ascending/descending by "Calendar"
      3. Filter the entries by "Calendar"

      EXPECTED RESULTS

      Sorting and filtering work properly.

      ACTUAL RESULTS

      When sorting ascending, the first page displayed on top is the default calendar "Other Events", after which "Calendar 1", "Calendar 2" and "Personal". However, when sorting descending, the default calendar "Other Events" is displayed last on the bottom when it should have been placed secondly from the top, after "Personal".

      When filtering by the name of the calendar (e.g. type: Calendar), the first page displayed on top is also the default calendar "Other Events", after which "Calendar 1" and "Calendar 2". If filtered by the word "Other", no results are displayed.

      Note: "Other Events" calendar page has the following displayed as title (when edited): $services.localization.render('MoccaCalendar.calendar.defaultCalendarTitle')

      Tested on XWiki 8.4.5, XWiki 9.5.1 and XWiki 9.6.

      Attachments

        1. screenshot-1.png
          screenshot-1.png
          50 kB
        2. Mocca_filter2.jpg
          Mocca_filter2.jpg
          52 kB
        3. Mocca_filter1.jpg
          Mocca_filter1.jpg
          82 kB
        4. Mocca_descending.jpg
          Mocca_descending.jpg
          93 kB
        5. Mocca_ascending.jpg
          Mocca_ascending.jpg
          92 kB

        Activity

          People

            Unassigned Unassigned
            iandriuta Ilie Andriuta
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: