the result of a search looks like this Item hits: Issue Date Title Author(s) 25-Mar-2014 Open Access<http://asdspace300l.princeton.edu/jspui/handle/88435/62369> O, Pen
when I click on the link: I get an error page - document does not exist When I open in new tab the page display just fine This is due to the javascript in dspace-jspui/src/main/webapp/static/js/search-results.js doctoring the links in the table: urls.click(function(){ var $this = $(this); //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#dso-display'); form.find('input[name="redirectUrl"]').val($this.attr('href')); form.submit(); return false; }); unfortunately for me redirectUrl is empty in the form <form id="dso-display" action="/jspui/dso-display" method="post"> <input type="hidden" name="query" value="open"/> <input type="hidden" name="rpp" value="10"/> <input type="hidden" name="page" value="1"/> <input type="hidden" name="sort_by" value="0"/> <input type="hidden" name="order" value="DESC"/> <input type="hidden" name="scope" value="88435/dsp01qv33rw79v"/> <input type="hidden" name="redirectUrl" value=""/> </form> for now I ‘fixed’ this by getting rid of the urls.click code there are several other javascript functions that refer to redirectUrl the particular instance I am running has the solr UI enabled (aka it is in the web apps directory) BUT it is accessible via localhost:8080/solr only any advise ? Monika ________________ Monika Mevenkamp phone: 609-258-4161 Lewis Library,Washington Road and Ivy Lane, Princeton University, Princeton, NJ 08544
------------------------------------------------------------------------------
_______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette