This plugin use the 'ISBN' field(010$a) to search the "publishercode"(editor)
and set it in as 210$c.
---
cataloguing/value_builder/unimarc_field_010.pl | 2 +-
.../en/modules/cataloguing/value_builder/ajax.tmpl | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cataloguing/value_builder/unimarc_field_010.pl
b/cataloguing/value_builder/unimarc_field_010.pl
index 07b8045..be36837 100644
--- a/cataloguing/value_builder/unimarc_field_010.pl
+++ b/cataloguing/value_builder/unimarc_field_010.pl
@@ -19,6 +19,7 @@
# Suite 330, Boston, MA 02111-1307 USA
use strict;
+use warnings;
use C4::Auth;
use CGI;
use C4::Context;
@@ -109,7 +110,6 @@ sub plugin {
if( (my $publishercode) = $sth->fetchrow )
{
- warn $publishercode;
$template->param(return => $publishercode);
}
output_html_with_http_headers $input, $cookie, $template->output;
diff --git
a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/ajax.tmpl
b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/ajax.tmpl
index fa44f11..13b3f76 100644
---
a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/ajax.tmpl
+++
b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/ajax.tmpl
@@ -1 +1 @@
-<!-- TMPL_IF name="return" --><!-- TMPL_VAR name="return" --><!--/TMPL_IF-->
\ No newline at end of file
+<!-- TMPL_IF name="return" --><!-- TMPL_VAR name="return" --><!--/TMPL_IF-->
--
1.5.6.3
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches