[Koha-bugs] [Bug 25548] Package install Apache performs unnecessary redirects

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 9 21:43:06 CEST 2020


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

--- Comment #23 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
(In reply to Jonathan Druart from comment #22)
> Who is volunteering?

Hm, just clearning the inputs won't fix the problem of bug 7607 I think? The
problem is, that people leave search fields empty so idx and search terms don't
match up. 

kw - no search term entered
title - some title words

Turns into: kw search for some title words

We have found this workaround from the other bug to be working, but I am not
sure if that will fix the ugliness of the URL.

$(document).ready(function(){
$("input[name='do']").click(function(){
    $("input[name='q']").each(function(i){
        if (!$(this).val()){
            $("select[name='idx']").eq(i).append('<option value=""
selected="selected"></option>'); 
        }
    }); 
});
});

and in intranetuserjs :

$(document).ready(function() {
$("#submit1,#submit2").click(function(){
    $("input[name='q']").each(function(i){
        if (!$(this).val()){
            $("select[name='idx']").eq(i).append('<option value=""
selected="selected"></option>'); 
        }
    }); 
});
});

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list