Bugzilla – Attachment 115247 Details for
Bug 27461
Fix field 008 length below 40 positions in cataloguing plugin
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27461: Fix field 008 length below 40 positions in cataloguing plugin
Bug-27461-Fix-field-008-length-below-40-positions-.patch (text/plain), 1.45 KB, created by
Marcel de Rooy
on 2021-01-18 13:54:23 UTC
(
hide
)
Description:
Bug 27461: Fix field 008 length below 40 positions in cataloguing plugin
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2021-01-18 13:54:23 UTC
Size:
1.45 KB
patch
obsolete
>From 917bc4d04ad39f9b3ceff3a1965bb5b91e08e066 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Mon, 18 Jan 2021 13:52:07 +0000 >Subject: [PATCH] Bug 27461: Fix field 008 length below 40 positions in > cataloguing plugin >Content-Type: text/plain; charset=utf-8 > >Test plan: >Make contents of field 008 shorter in editor before clicking plugin. >Save in plugin. >Verify that character length in field 008 is now 40 positions. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > .../prog/en/modules/cataloguing/value_builder/marc21_field_008.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008.tt >index 26f0f4e5f1..c7602eb5a1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008.tt >@@ -89,7 +89,7 @@ > function report() { > var doc = opener.document; > var field = doc.getElementById("[% index | html %]"); >- field.value = document.getElementById("result").value; >+ field.value = document.getElementById("result").value.concat( String(' ') ).substring(0,40); > self.close(); > return false; > } >-- >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 27461
:
115247
|
115248
|
123973
|
123974
|
123975
|
124433
|
124434
|
124435
|
125349
|
125350
|
125351