Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.4.3
-
Fix Version/s: 3.6
-
Component/s: Block: Configurable report
-
Labels:
-
Plugin Version:2016020103
-
Affected Branches:MOODLE_34_STABLE
-
Fixed Branches:MOODLE_36_STABLE
Description
- Click on manage reports
- Click on Add report button
- Give the report a name
- Choose SQL Report under 'Type of report'
- Click on Add button
- In the main text box type some SQL (substituting the table name and prefix (i.e. moodlel.mdl) with prefix, for example select c.id, c.shortname, c.fullname, IF(c.startdate>0, FROM_UNIXTIME(startdate,'%b %d %Y %h:%m:%s %p'), c.startdate) AS starts from prefix_course AS c where shortname like '%PRD3%' and shortname like '%2017-18' 7. Click Save changes button pix_url is deprecated. Use image_url for images and pix_icon for icons.line 267 of /lib/outputrenderers.php: call to debugging()line 140 of /blocks/configurable_reports/managereport.php: call to renderer_base->pix_url()
- Click on manage reports
# Click on a report link (under heading name)
# Click on permissions tab
# Under Add choose 'Any user in the current report course'
# Click update
# Log in as another user and check access pix_url is deprecated. Use image_url for images and pix_icon for icons.line 267 of /lib/outputrenderers.php: call to debugging()line 140 of /blocks/configurable_reports/managereport.php: call to renderer_base->pix_url()