Bugzilla – Attachment 105429 Details for
Bug 25599
Allow use of cataloguing placeholders when ACQ framework is used creating new record (UseACQFrameworkForBiblioRecords)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25599: Fix default value placeholders for UseACQFrameworkForBiblioRecords
Bug-25599-Fix-default-value-placeholders-for-UseAC.patch (text/plain), 1.21 KB, created by
Katrin Fischer
on 2020-05-28 23:04:31 UTC
(
hide
)
Description:
Bug 25599: Fix default value placeholders for UseACQFrameworkForBiblioRecords
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-05-28 23:04:31 UTC
Size:
1.21 KB
patch
obsolete
>From fd3948e4a2e444c52fdd86ba23f91f714ecf25ba Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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 <katrin.fischer.83@web.de> >--- > 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 <<YYYY>>, <<MM>>, <<DD>> if provided in the default value > my $today_dt = dt_from_string; >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 25599
:
105350
|
105429
|
105645