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

--- Comment #23 from Katrin Fischer <[email protected]> ---
(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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to