Skip to content

Commit

Permalink
fixed link when going back from event details page to event list page…
Browse files Browse the repository at this point in the history
… with a drowdown filter

wrong separator was added (& instead of ?)
  • Loading branch information
Michael Burtscher committed Jun 11, 2017
1 parent 420a16e commit 026477f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions includes/js/filterbar.js
Expand Up @@ -21,9 +21,10 @@ function updateUrlParameter(url, paramName, paramVal, sc_id) {
urlArray = oldParams.split("&");
for(i=0; i<urlArray.length; i++) {
if(urlArray[i].split("=")[0] == "event_id"+sc_id) {
// do nothing
// do nothing:
continue;
}
else if(urlArray[i].split("=")[0] == paramName) {
if(urlArray[i].split("=")[0] == paramName) {
newParams += seperator + paramName + "=" + paramVal;
paramNameAdded = true;
}
Expand Down

0 comments on commit 026477f

Please sign in to comment.