Changeset 33474

Show
Ignore:
Timestamp:
16.09.2019 11:04:50 (5 weeks ago)
Author:
kjdon
Message:

it turns out that childtype is not set in all cases, so put in the default VList type here, otherwise we end up with empty childtype

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/classify/List.pm

    r33473 r33474  
    611611    # Create the root node of the classification hierarchy 
    612612    my %classifier_node = ( 'thistype' => "Invisible", 
    613                 #'childtype' => $self->{$first_metadata_group . ".list_type"}, 
     613                'childtype' => "VList", 
    614614                'Title' => $self->{'buttonname'}, 
    615615                'contains' => [],