Boostrap OPAC Top Nav Logo Redirect Issue with alternate port

Bug #2019747 reported by Jason Stephenson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
New
Undecided
Unassigned

Bug Description

Evergreen Version: current master and previous versions
OpenSRF Version: N/A
PostgreSQL Version: N/A

When Evergreen is hosted on a non-standard port, i.e. 8080, 8443, or something else, the top nav logo redirect fails when the logo is clicked because EGCatLoader's generic redirect function does not add the port from the incoming URI to the redirect.

There are two possible ways to fix this:

1. Modify the href in the Open-ILS/src/templates-bootstrap/opac/parts/topnav_logo.tt2 template to go to "/eg/opac/home" instead of "/eg/opac/".

2. Modify The EGCatLoader::Util function generic_redirect to include the port from the request URI.

Doing 1 avoids invoking generic_redirect, and works if OILSWebMediaPrefix is properly set to include the alternate port number. (See bug 2019748 related to that one.)

This was discovered while assisting a new Evergreen user site in IRC: http://irc.evergreen-ils.org/evergreen/2023-05-15#i_525870

Tags: bootstrap opac
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.