Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-57750

Add a way to retrieve action events for pagination

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • 3.3
    • Calendar
    • 3.3 Project Team Sprint 2

      Not all users enrolled in a module will have a action to complete for each action event created.

      We need a way to filter out events that a user shouldn't see prior to pulling the data from the database to allow the database to handle the pagination for us.

      Whether or not a user will see an action event is based on their capabilities within the module. One possible solution is to ask each module for the list of event types that user should see and then use those in the database query to make sure we only receive results that the user is guaranteed to see.

      We could even implement some caching to pre-fetch this information rather than needing to calculate it on the fly each time.

            ryanwyllie Ryan Wyllie
            ryanwyllie Ryan Wyllie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.