Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

DS-1432 back button in Discovery broken in Firefox

  • Loading branch information...
commit f257c88f7a69c92d050b6716daf9fadf519a202a 1 parent f98212d
Mushashu Mwansa Lumpa authored committed
View
2  dspace-xmlui/src/main/webapp/static/js/discovery/discovery-results.js
@@ -19,7 +19,7 @@
//Instead of redirecting us to the page, first send us to the statistics logger
//By doing this we ensure that we register the query to the result
var form = $('form#aspect_discovery_SimpleSearch_div_main-form');
- form.attr('action', form.attr('action').replace('/discover', '') + '/dso-display');
+ form.attr('action', form.attr('action').replace('/discover', 'dso-display'));
//Manipulate the fq boxes to all switch to query since the logging doesn't take into account filter queries
form.find('input[name="fq"]').attr('name', 'query');
form.find('input[name="redirectUrl"]').val($this.attr('href'));
Please sign in to comment.
Something went wrong with that request. Please try again.