by Ben Haensel.
Thanks for the quick response. I used a different way around with Configurable Reports to write a query for assignments, quizzes, journals, lessons, forums, and advanced forums where I display a grading link for teachers. Within the course context, I came up with a way to show the rownum using ranking, yet using the rownum at all is simply troublesome. For the report that shows all ungraded activities in all courses, I was hoping to find a way to not use rownum, and only use the course module id and userid with "rownum=0" if someone has figured out a way to correct the issue here: https://tracker.moodle.org/browse/MDL-42306
Please vote for this tracker issue! It would be great to remove the rownum requirement for creating grading links.