Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.8.4, 3.9.1, 3.10
Description
The insight report page supports setting the number of displayed insights per page through the optional parameter 'perpage'. However, the pagination bar does not respect this parameter when navigating to a different page and uses the default perpage parameter.
Steps to replicate:
Using course which has generated many insights (>100) for a certain analytics model
- Go to the Course.
- Go to Course Administration > Reports > Insights
- By default, you should see 100 insights per page
- Manually modify the page url by setting the parameter 'perpage' = 10,and appending it to the url ( 'PATHTOINSTANCE/report/insights/insights.php?contextid=CONTEXTID&modelid=MODELID&perpage=10').
- After following the url, you should see 10 insights per page now.
- Click on the next page (ex. 2) in the pagination bar.
Expected: The page should display the next set of 10 insights.
Actual: The page displays 100 insights per page.