From d0acd746d1c35cd17b22305bec94c68ff43caf77 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Tue, 22 Sep 2020 09:37:34 +1200 Subject: [PATCH] Bug 12224: (follow-up) Access old_issues table when editing notice This QA follow-up allows access to the old_issues table when editing the notice in Tools. Signed-off-by: Alexandra Speer --- tools/letter.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/letter.pl b/tools/letter.pl index eb2cd98e63..5893f3eb00 100755 --- a/tools/letter.pl +++ b/tools/letter.pl @@ -251,7 +251,7 @@ sub add_form { } - if ( $module eq 'circulation' and $code and $code eq "CHECKIN" ) { + if ( $module eq 'circulation' and $code and ( $code eq "CHECKIN" or $code eq "CHECKINSLIP" ) ) { push @{$field_selection}, add_fields('old_issues'); } else { push @{$field_selection}, add_fields('issues'); -- 2.11.0