Bugzilla – Attachment 116900 Details for
Bug 24108
Configure if biblionumber or control number is used for saved files from detail page or advanced cataloguing editor
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24108: (QA follow-up) Adjust wording and use perl for update file
Bug-24108-QA-follow-up-Adjust-wording-and-use-perl.patch (text/plain), 2.97 KB, created by
Katrin Fischer
on 2021-02-15 21:49:31 UTC
(
hide
)
Description:
Bug 24108: (QA follow-up) Adjust wording and use perl for update file
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2021-02-15 21:49:31 UTC
Size:
2.97 KB
patch
obsolete
>From 18466e4e9ea2657ab2920d7f18c4e3c8bf536db7 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 11 Jan 2021 14:08:35 +0000 >Subject: [PATCH] Bug 24108: (QA follow-up) Adjust wording and use perl for > update file > >Signed-off-by: David Nind <david@davidnind.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > .../bug_24108-add_SaveRecordbyControlNumber_syspref.sql | 10 +++++++++- > .../prog/en/modules/admin/preferences/cataloguing.pref | 8 ++++---- > 2 files changed, 13 insertions(+), 5 deletions(-) > >diff --git a/installer/data/mysql/atomicupdate/bug_24108-add_SaveRecordbyControlNumber_syspref.sql b/installer/data/mysql/atomicupdate/bug_24108-add_SaveRecordbyControlNumber_syspref.sql >index fe5e48798e..de105c3d54 100644 >--- a/installer/data/mysql/atomicupdate/bug_24108-add_SaveRecordbyControlNumber_syspref.sql >+++ b/installer/data/mysql/atomicupdate/bug_24108-add_SaveRecordbyControlNumber_syspref.sql >@@ -1 +1,9 @@ >-NSERT IGNORE INTO systempreferences (variable, value, explanation, options, type) VALUES ('SaveRecordbyControlNumber', '0', 'If set, advanced editor (Rancor) will use the control number field to populate the name of the save file, otherwise it uses the biblionumber.', NULL, 'YesNo'); >+$DBversion = 'XXX'; >+if( CheckVersion( $DBversion ) ) { >+ $dbh->do(q{ >+ INSERT IGNORE INTO systempreferences >+ (variable, value, explanation, options, type) VALUES >+ ('SaveRecordbyControlNumber', '0', 'If set, advanced cataloging editor will use the control number field to populate the name of the save file, otherwise it uses the biblionumber.', NULL, 'YesNo') >+ }); >+ NewVersion( $DBversion, 24108, "Add system preference SaveRecordbyControlNumber"); >+} >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref >index 9988ae47d7..9514784262 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref >@@ -28,14 +28,14 @@ Cataloging: > - "<br/> <strong>NOTE:</strong>" > - Currently does not include support for UNIMARC or NORMARC fixed fields. > - >- - "When saving in a MARC/MARCXML file in the advanced editor (Rancor), use the" >+ - "When saving in a MARC/MARCXML file in the advanced cataloging editor, use the" > - pref: SaveRecordbyControlNumber > default: 0 > choices: > yes: Enable >- yes: "Save by controlnumber" >- no: "Save by biblionumber" >- - "in the file name. Default is by biblionumer." >+ yes: "control number" >+ no: "record number" >+ - "in the file name. The default is to use the bibliographic record number." > Spine labels: > - > - When using the quick spine label printer, >-- >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 24108
:
95989
|
101026
|
101027
|
101032
|
101056
|
101069
|
101381
|
101382
|
101383
|
101384
|
114081
|
114082
|
114243
|
114244
|
115033
|
115034
|
115035
|
115036
|
115038
|
115356
|
115357
|
115358
|
115359
|
116898
|
116899
|
116900
|
116901
|
116902
|
116903
|
116912
|
116913
|
116914
|
116915
|
116916
|
116917
|
116918