Changeset 33474 for main


Ignore:
Timestamp:
2019-09-16T11:04:50+12:00 (5 years 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

File:
1 edited

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' => [],
Note: See TracChangeset for help on using the changeset viewer.