Changeset 741 for trunk/gsdl


Ignore:
Timestamp:
1999-10-24T21:22:41+13:00 (25 years ago)
Author:
sjboddie
Message:

fixed up a bit of a bug - should fix this properly
some time

Location:
trunk/gsdl/perllib/classify
Files:
2 edited

Legend:

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

    r708 r741  
    120120    # top level
    121121    my $childtype = "HList";
    122     if (scalar (@$classlistref) <= 20) {$childtype = "VList";}
     122    if (scalar (@$classlistref) <= 39) {$childtype = "VList";}
    123123    my $classifyinfo = $self->get_entry ($self->{'metaname'}, $childtype, "Invisible");
    124124
    125     # don't need to do any splitting if there are less than 20 classifications
    126     if ((scalar @$classlistref) <= 20) {
     125    # don't need to do any splitting if there are less than 39 (max + min -1) classifications
     126    if ((scalar @$classlistref) <= 39) {
    127127    foreach $subOID (@$classlistref) {
    128128        push (@{$classifyinfo->{'contains'}}, {'OID'=>$subOID});
  • trunk/gsdl/perllib/classify/AZSectionList.pm

    r677 r741  
    135135    # top level
    136136    my $childtype = "HList";
    137     if (scalar (@$classlistref) <= 20) {$childtype = "VList";}
     137    if (scalar (@$classlistref) <= 39) {$childtype = "VList";}
    138138    my $classifyinfo = $self->get_entry ($self->{'metaname'}, $childtype, "Invisible");
    139139
    140     # don't need to do any splitting if there are less than 20 classifications
    141     if ((scalar @$classlistref) <= 20) {
     140    # don't need to do any splitting if there are less than 39 (max + min -1) classifications
     141    if ((scalar @$classlistref) <= 39) {
    142142    foreach $subOID (@$classlistref) {
    143143        push (@{$classifyinfo->{'contains'}}, {'OID'=>$subOID});
Note: See TracChangeset for help on using the changeset viewer.