Project: moodle
Issue MDL-46902: When searching for a course that does not exist a non-sensical string is displayed.
# Search for a course from the course management page that does not exist, eg. "NOWAYTHISCOURSEEXISTSIFITDOESWOWYOUCRAZY". # You will get the strange string "Showing courses -19 to 0 of 0 courses" due to Moodle performing arithmetic with the value of 0 (($page * $perpage) + 1).
Story points: 5