Commit 774052fa authored by Mahdi Mahmoudy's avatar Mahdi Mahmoudy
Browse files

probably a fix, needs checking on the dev server

parent dbdc091b
'use strict'; 'use strict';
app.controller('SearchCtrl', function($scope, $location, $routeParams) { app.controller('SearchCtrl', function($scope, $location, $routeParams) {
$scope.searchTerm = $routeParams.searchTerm; $scope.searchTerm = $routeParams.searchTerm
.replace(/\[(.*)\]/, "%5B$1%5D");
}); });
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment