From 700216b355acbf8ed17ee62e5536904098e7dc43 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 (cherry picked from commit 8e7208d7104bef61f45f10e2a3324e445d177094) Signed-off-by: Lucas Gass (cherry picked from commit 7ae41cda1d991b50c79aa93d669c1d1b7933f7ac) Signed-off-by: Fridolin Somers --- suggestion/suggestion.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/suggestion/suggestion.pl b/suggestion/suggestion.pl index 0113b3b4cd..2090a8adb9 100755 --- a/suggestion/suggestion.pl +++ b/suggestion/suggestion.pl @@ -170,6 +170,7 @@ if ( $op =~ /save/i ) { delete $suggestion_ref->{suggesteddate}; delete $suggestion_ref->{manageddate}; Init($suggestion_ref); + $op = 'save'; } else { -- 2.39.5