Changeset 6635


Ignore:
Timestamp:
2004-01-28T14:41:31+13:00 (20 years ago)
Author:
kjdon
Message:

added mdtype to the classfier nodes - specifies what Date metadata (eg dc.Date) that the classifier was built on

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/classify/DateList.pm

    r6408 r6635  
    159159    my %classifyinfo = ('childtype'=>$childtype,
    160160            'Title'=>$title,
    161             'contains'=>[]);
     161            'contains'=>[],
     162            'mdtype'=>$self->{'datemeta'});
    162163    $classifyinfo{'thistype'} = $thistype
    163164    if defined $thistype && $thistype =~ /\w/;
     
    179180    !$self->{'nogroup'}) {$childtype = "DateList";}
    180181    my $classifyinfo = $self->get_entry ("Date", $childtype, "Invisible");
    181 
    182182    # don't need to do any splitting if there are less than 39 (max + min -1)
    183183    # classifications, unless nogroup is specified
     
    242242        push (@{$classifyinfo->{'contains'}}, $yearclassify);
    243243        }
    244         # not sure if this is needed... AZCompactList has it :p
    245         $classifyinfo->{'mdtype'}=$self->{'datemeta'};
    246244        return $classifyinfo;
    247245    } # nogroup
Note: See TracChangeset for help on using the changeset viewer.