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 <katrin.fischer.83@web.de> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
2b05647b63
commit
b16e463173
|
|
@ -226,7 +226,7 @@ if ( not $ordernumber ) { # create order
|
|||
}
|
||||
}
|
||||
|
||||
if ( $value eq '' ) {
|
||||
if ( $value ) {
|
||||
|
||||
# get today date & replace <<YYYY>>, <<MM>>, <<DD>> if provided in the default value
|
||||
my $today_dt = dt_from_string;
|
||||
|
|
|
|||
Loading…
Reference in New Issue