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

(-)a/C4/Suggestions.pm (-1 / +1 lines)
Lines 113-119 sub SearchSuggestion { Link Here
113
    LEFT JOIN borrowers AS U2 ON managedby=U2.borrowernumber
113
    LEFT JOIN borrowers AS U2 ON managedby=U2.borrowernumber
114
    LEFT JOIN branches AS B2 ON B2.branchcode=U2.branchcode
114
    LEFT JOIN branches AS B2 ON B2.branchcode=U2.branchcode
115
    LEFT JOIN categories AS C2 ON C2.categorycode = U2.categorycode
115
    LEFT JOIN categories AS C2 ON C2.categorycode = U2.categorycode
116
    WHERE STATUS NOT IN ('CLAIMED')
116
    WHERE STATUS NOT IN ('ORDERED')
117
    } , map {
117
    } , map {
118
        if ( my $s = $suggestion->{$_} ) {
118
        if ( my $s = $suggestion->{$_} ) {
119
        push @sql_params,'%'.$s.'%'; 
119
        push @sql_params,'%'.$s.'%'; 
(-)a/acqui/addorder.pl (-2 / +1 lines)
Lines 212-218 if ( $orderinfo->{quantity} ne '0' ) { Link Here
212
        my ($biblionumber,$bibitemnum) = AddBiblio($record,'');
212
        my ($biblionumber,$bibitemnum) = AddBiblio($record,'');
213
        # change suggestion status if applicable
213
        # change suggestion status if applicable
214
        if ($$orderinfo{suggestionid}) {
214
        if ($$orderinfo{suggestionid}) {
215
            ModSuggestion( {suggestionid=>$$orderinfo{suggestionid}, status=>'ORDERED', biblionumber=>$biblionumber} );
215
            ModSuggestion( {suggestionid=>$$orderinfo{suggestionid}, STATUS=>'ORDERED', biblionumber=>$biblionumber} );
216
        }
216
        }
217
		$orderinfo->{biblioitemnumber}=$bibitemnum;
217
		$orderinfo->{biblioitemnumber}=$bibitemnum;
218
		$orderinfo->{biblionumber}=$biblionumber;
218
		$orderinfo->{biblionumber}=$biblionumber;
219
- 

Return to bug 6893