From 8e7208d7104bef61f45f10e2a3324e445d177094 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 Signed-off-by: Jan Kissig Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer --- suggestion/suggestion.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/suggestion/suggestion.pl b/suggestion/suggestion.pl index 62a82a8058..2f6b53970f 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.5