Adding RIS and bibtex export
[koha.git] / svc / bib_profile
index 41ea042..a62e7e0 100755 (executable)
@@ -19,6 +19,8 @@
 #
 
 use strict;
+use warnings;
+
 use CGI;
 use C4::Auth qw/check_api_auth/;
 use C4::Context;
@@ -70,6 +72,7 @@ sub _get_mandatory_subfields {
                                     FROM marc_subfield_structure 
                                     WHERE frameworkcode = '' 
                                     AND tagsubfield <> '\@' 
+                                    AND kohafield <> 'biblioitems.itemtype'
                                     AND mandatory = 1");
     $sth->execute();
     my @subfields = ();