From 1287f6ea3fda50be8ab637ebedc9b8e0a8b3f55e 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 --- acqui/neworderempty.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acqui/neworderempty.pl b/acqui/neworderempty.pl index 9414f64061..cf2e7ee945 100755 --- a/acqui/neworderempty.pl +++ b/acqui/neworderempty.pl @@ -226,7 +226,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.20.1