View | Details | Raw Unified | Return to bug 28782
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/js/pages/results.js (+1 lines)
Lines 343-348 function placeHold () { Link Here
343
        bibs.push(bib);
343
        bibs.push(bib);
344
    });
344
    });
345
    bibs.forEach(function (bib) {
345
    bibs.forEach(function (bib) {
346
        console.log(bib);
346
        var bib_param = $("<input>").attr("type", "hidden").attr("name", "biblionumber").val(bib);
347
        var bib_param = $("<input>").attr("type", "hidden").attr("name", "biblionumber").val(bib);
347
	$('#hold_form').append(bib_param);
348
	$('#hold_form').append(bib_param);
348
    });
349
    });
(-)a/reserve/request.pl (-2 / +1 lines)
Lines 173-179 if($findclub) { Link Here
173
        my @clubs = Koha::Clubs->search( [
173
        my @clubs = Koha::Clubs->search( [
174
            { name => { like => '%'.$findclub.'%' } },
174
            { name => { like => '%'.$findclub.'%' } },
175
            { description => { like => '%'.$findclub.'%' } }
175
            { description => { like => '%'.$findclub.'%' } }
176
        ] );
176
        ] )->as_list;
177
        if( scalar @clubs == 1 ) {
177
        if( scalar @clubs == 1 ) {
178
            $club_hold = $clubs[0]->id;
178
            $club_hold = $clubs[0]->id;
179
        } elsif ( @clubs ) {
179
        } elsif ( @clubs ) {
180
- 

Return to bug 28782