From ff519ae4c6ab062191b68eb380b89f1ccc07d086 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Thu, 11 Jul 2024 22:11:35 +0000 Subject: [PATCH] Bug 37337: Pass the save $op when biblio_exists To test: 1. Go to suggestions in the staff interface and enter a new suggestion. 2. Enter a title that matches something already in the catalog. In k-t-d I used "Lanark". 3. Submit the suggestion. 4. Get a blank page. 5. APPLY PATCH and restart_all 6. Now after step 3 you should get a page that shows the 'Click on "Confirm your suggestion" to ignore this message." warning, the form, and a Confirm your suggestion button. Signed-off-by: Jake Deery --- suggestion/suggestion.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/suggestion/suggestion.pl b/suggestion/suggestion.pl index 62a82a8058..5ae14a8540 100755 --- a/suggestion/suggestion.pl +++ b/suggestion/suggestion.pl @@ -176,6 +176,7 @@ if ( $op =~ /cud-save/ ) { delete $suggestion_ref->{suggesteddate}; delete $suggestion_ref->{manageddate}; Init($suggestion_ref); + $op ='save'; } else { -- 2.39.3 (Apple Git-146)