https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43369

Katrin Fischer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|24.11                       |Main

--- Comment #1 from Katrin Fischer <[email protected]> ---
Confirmed in main:
- Switch opacuserlogin (no login in OPAC allowed)
- Do a search in OPAC
- Check developer tools:

Uncaught TypeError: can't access property "value", query is null
    <anonymous>
http://localhost:8080/opac-tmpl/bootstrap/js/authtoresults_26.0600053.js:8

Pointing here:

if (window.location.href.indexOf("opac-search.pl") > -1) {
    // extract search params
    var searchUrl = location.href;
    var searchParams = searchUrl.substring(searchUrl.indexOf("?") + 1);

    // store search params in loginModal to pass back on redirect
    var query = document.getElementById("has-search-query");
    query.value = searchParams;
}

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to