Bugzilla – Attachment 101027 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]
Changed indentation.
Changed-indentation.patch (text/plain), 2.20 KB, created by
Cori Lynn Arnold
on 2020-03-19 15:07:39 UTC
(
hide
)
Description:
Changed indentation.
Filename:
MIME Type:
Creator:
Cori Lynn Arnold
Created:
2020-03-19 15:07:39 UTC
Size:
2.20 KB
patch
obsolete
>From 9ea9305f0b94396568f37a324e25495e44563739 Mon Sep 17 00:00:00 2001 >From: Cori Lynn Arnold <carnold@dgiinc.com> >Date: Thu, 19 Mar 2020 14:57:14 +0000 >Subject: [PATCH] Changed indentation. > >https://bugs.koha-community.org/show_bug.cgi?id=24108 >--- > koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc >index 2a8f4d9295..17544bf558 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc >@@ -287,12 +287,12 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr > saveLabel: _("Save as MARC (.mrc) file"), > save: function( id, record, done ) { > var recname = state.recordID+'.mrc'; >-[% IF (Koha.Preference('SaveRecordbyControlNumber') == '1') %] >+ [% IF (Koha.Preference('SaveRecordbyControlNumber') == '1') %] > var controlnumfield = record.field('001'); > if(controlnumfield) { > recname = controlnumfield.subfield('@')+'.mrc'; > } >-[% END %] >+ [% END %] > saveAs( new Blob( [record.toISO2709()], { 'type': 'application/octet-stream;charset=utf-8' } ), recname ); > > done( {} ); >@@ -302,12 +302,12 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr > saveLabel: _("Save as MARCXML (.xml) file"), > save: function( id, record, done ) { > var recname = state.recordID+'.xml'; >-[% IF (Koha.Preference('SaveRecordbyControlNumber') == '1') %] >+ [% IF (Koha.Preference('SaveRecordbyControlNumber') == '1') %] > var controlnumfield = record.field('001'); > if(controlnumfield) { > recname = controlnumfield.subfield('@')+'.xml'; > } >-[% END %] >+ [% END %] > saveAs( new Blob( [record.toXML()], { 'type': 'application/octet-stream;charset=utf-8' } ), recname ); > > done( {} ); >-- >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