Lines 148-153
if ( $op eq "add_confirm" ) {
Link Here
|
148 |
$suggestion->{branchcode} = $input->param('branchcode') || C4::Context->userenv->{"branch"}; |
148 |
$suggestion->{branchcode} = $input->param('branchcode') || C4::Context->userenv->{"branch"}; |
149 |
|
149 |
|
150 |
&NewSuggestion($suggestion); |
150 |
&NewSuggestion($suggestion); |
|
|
151 |
$patrons_pending_suggestions_count++; |
151 |
|
152 |
|
152 |
# delete empty fields, to avoid filter in "SearchSuggestion" |
153 |
# delete empty fields, to avoid filter in "SearchSuggestion" |
153 |
foreach my $field ( qw( title author publishercode copyrightdate place collectiontitle isbn STATUS ) ) { |
154 |
foreach my $field ( qw( title author publishercode copyrightdate place collectiontitle isbn STATUS ) ) { |
154 |
- |
|
|