Bugzilla – Attachment 3846 Details for
Bug 6150
UNIMARC field 225 plugin: allow $a value data entry
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
0001-Bug-6150-UNIMARC-field-225-plugin-allow-a-value-data.patch (text/plain), 2.05 KB, created by
Frédéric Demians
on 2011-04-08 17:52:23 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Frédéric Demians
Created:
2011-04-08 17:52:23 UTC
Size:
2.05 KB
patch
obsolete
>From 9b5bac4815261757d663fa39d261f611142b41c9 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Demians?= <f.demians@tamil.fr> >Date: Fri, 8 Apr 2011 19:49:33 +0200 >Subject: [PATCH] Bug 6150 UNIMARC field 225 plugin: allow $a value data entry > >The current UNIMARC 225 plugin behavior forces cataloguer to select a >collection name in a combo box. The content of this combo box comes from >special EDITORS authorities list which is constructed by a script. So >there is no way to add a new collection directly in biblio data entry >form. > >A input box can be added to the plugin form in order to enter by hand a >new collection. >--- > .../value_builder/unimarc_field_225a.tmpl | 6 ++++-- > 1 files changed, 4 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_225a.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_225a.tmpl >index 1f9b97b..2b4f1cf 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_225a.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_225a.tmpl >@@ -8,6 +8,8 @@ > <form name="f_pop" onsubmit="report()" action=""> > <h2 class="authority">Collection</h2> > <p><label>Select a collection</label><!-- TMPL_VAR name="collection" --></p> >+ OR new collection: <input type="text" value="" name="f2"/> >+ <br/> > <input type="submit" value="OK" class="button authority" /> > </form> > </div> >@@ -17,11 +19,11 @@ > function report() { > var doc = opener.document; > var field = doc.getElementById("<!-- TMPL_VAR NAME='index'-->"); >- field.value = document.f_pop.f1.value; >+ field.value = document.f_pop.f2.value || document.f_pop.f1.value; > window.close(); > return false; > } > //]]> > </script> > >-<!-- TMPL_INCLUDE NAME="popup-bottom.inc" --> >\ No newline at end of file >+<!-- TMPL_INCLUDE NAME="popup-bottom.inc" --> >-- >1.7.4 >
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 6150
:
3846
|
4485