Skip to content

Commit ddf90e1

Browse files
committed
Bug fix for last commit
1 parent 44ed223 commit ddf90e1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

assets/src/modules/sm/App/providers/RMPUrlFilter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
angular.module('sm').filter('RMPUrl', function() {
33
return function(input) {
44
if(input && input != "TBA") {
5-
var EscapedName = input.replace(/ /g, "+");
5+
var EscapedName = encodeURIComponent(input);
66
return '<a target="_blank" href="http://www.ratemyprofessors.com/search.jsp?queryBy=teacherName&queryoption=HEADER&query=' + EscapedName + '&facetSearch=true&schoolName=rochester+institute+of+technology">' + input + '</a>';
77
} else {
88
return '<a href="#">' + input + '</a>';

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "schedulemaker",
3-
"version": "3.0.17",
3+
"version": "3.0.18",
44
"private": true,
55
"description": "A course database lookup tool and schedule building web application for use at Rochester Institute of Technology.",
66
"main": "index.php",

0 commit comments

Comments
 (0)