Comment 2 for bug 1126545

Revision history for this message
Simon Mai (simonmai) wrote :

The problem is at the return URL. When you click on Search Results button, the result page will be at:
oils://remote//eg/opac/results?bool=and;bool=and;bool=and;qtype=keyword;qtype=title;qtype=author;contains=contains;contains=contains;contains=contains;query=computer;query=;query=;locg=2;pubdate=is;_adv=1oils

The wrong thing is "//" between "remote" and "eg" in the above URL. It should be only ONE "/" between them.

The right link must be like this:
oils://remote/eg/opac/results?bool=and;bool=and;bool=and;qtype=keyword;qtype=title;qtype=author;contains=contains;contains=contains;contains=contains;query=computer;query=;query=;locg=2;pubdate=is;_adv=1oils

Easy to test this with TPAC:
Good link, get result after navigating to another page: http://ecrld.mnpals.net/eg/opac/results?fi%3Aitem_type=&query=computer&qtype=keyword&locg=1
Bad link with //eg, get nothing after navigating to another page: http://ecrld.mnpals.net//eg/opac/results?fi%3Aitem_type=&query=computer&qtype=keyword&locg=1

I tried to find out how to fix this URL, but I couldn't. Sorry about that. Hopefully someone else can solve this issue soon.
Simon.