Ignore:
Timestamp:
1998-12-18T13:42:01+13:00 (25 years ago)
Author:
sjboddie
Message:

minor changes to allow individual sections of documents to belong to
classifications as well as the document itself

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/mgbuildproc.pm

    r69 r82  
    143143
    144144    my ($parent, $classification, $creator, $OID);
     145   
     146    $classification = $self->get_classifications($doc_obj, $section, $mapped_section)
     147        unless $doctype eq "classification";
    145148
    146149    if ($section ne $doc_obj->get_top_section()) {
     
    153156        $parent =~ s/\.+$//;
    154157    } else {
    155         $classification = $self->get_classifications($doc_obj, $section, $mapped_section)
    156         unless $doctype eq "classification";
    157158        $creator = $doc_obj->get_metadata_element($section, "Creator");
    158159        $OID = $doc_obj->get_OID();
     
    221222            $self->write_to_gdbm ($handle, $intromapsection, "<i>(introductory text)</i>", $creator,
    222223                      $source, $date, $jobnumber, undef, $self->{'num_sections'},
    223                       $mapped_section, undef, $OID);
     224                      $mapped_section, $classification, $OID);
    224225        }
    225226        }
Note: See TracChangeset for help on using the changeset viewer.