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

(-)a/C4/Suggestions.pm (-1 lines)
Lines 162-168 sub SearchSuggestion { Link Here
162
                and $suggestion->{$field} ne '__ANY__'
162
                and $suggestion->{$field} ne '__ANY__'
163
                and (
163
                and (
164
                    $suggestion->{$field} ne q||
164
                    $suggestion->{$field} ne q||
165
                        or $field eq 'STATUS'
166
                )
165
                )
167
        ) {
166
        ) {
168
            if ( $suggestion->{$field} eq '__NONE__' ) {
167
            if ( $suggestion->{$field} eq '__NONE__' ) {
(-)a/opac/opac-suggestions.pl (-2 / +1 lines)
Lines 133-139 if ( $op eq "add_confirm" ) { Link Here
133
133
134
		&NewSuggestion($suggestion);
134
		&NewSuggestion($suggestion);
135
		# empty fields, to avoid filter in "SearchSuggestion"
135
		# empty fields, to avoid filter in "SearchSuggestion"
136
		$$suggestion{$_}='' foreach qw<title author publishercode copyrightdate place collectiontitle isbn STATUS>;
136
		$suggestion->{$_}='' foreach qw<title author publishercode copyrightdate place collectiontitle isbn STATUS itemtype>;
137
		$suggestions_loop =
137
		$suggestions_loop =
138
		   &SearchSuggestion( $suggestion );
138
		   &SearchSuggestion( $suggestion );
139
        push @messages, { type => 'info', code => 'success_on_inserted' };
139
        push @messages, { type => 'info', code => 'success_on_inserted' };
140
- 

Return to bug 16767