bib_profile web svc: report biblioitems.itemtype subfield as non-mandatory
authorGalen Charlton <galen.charlton@liblime.com>
Tue, 4 Dec 2007 17:28:27 +0000 (11:28 -0600)
committerJoshua Ferraro <jmf@liblime.com>
Tue, 4 Dec 2007 21:06:05 +0000 (15:06 -0600)
Per discussion with Chris Catalfo, biblios will optionally
supply this subfield (942$c) but is not required to do so,
as Koha automatically creates the biblioitem anyway.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
svc/bib_profile

index 41ea042..274a634 100755 (executable)
@@ -70,6 +70,7 @@ sub _get_mandatory_subfields {
                                     FROM marc_subfield_structure 
                                     WHERE frameworkcode = '' 
                                     AND tagsubfield <> '\@' 
+                                    AND kohafield <> 'biblioitems.itemtype'
                                     AND mandatory = 1");
     $sth->execute();
     my @subfields = ();