From 0a5da94a53f9fa2beead2c0bdb791eb723b89817 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 26 May 2020 10:50:31 +0200 Subject: [PATCH] Bug 25599: Fix default value placeholders for UseACQFrameworkForBiblioRecords The feature was there but a condition disabled it. Test plan: - modify the default value for 008@ or another subfield in the ACQ framework using one or more of the placeholders above - activate UseACQFrameworkForBiblioRecords - create a basket - create an order from a new record - verify the values have been replaced Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize Signed-off-by: Jonathan Druart (cherry picked from commit b16e463173e8125396eaef3159d08df5d0d2cfb6) Signed-off-by: Lucas Gass (cherry picked from commit 34b5cd5267243867042325550ba50bd7a0ee46aa) Signed-off-by: Aleisha Amohia --- acqui/neworderempty.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acqui/neworderempty.pl b/acqui/neworderempty.pl index ab95f16147..6ac2e1e38b 100755 --- a/acqui/neworderempty.pl +++ b/acqui/neworderempty.pl @@ -225,7 +225,7 @@ if ( not $ordernumber ) { # create order } } - if ( $value eq '' ) { + if ( $value ) { # get today date & replace <>, <>, <
> if provided in the default value my $today_dt = dt_from_string; -- 2.39.5