Changeset 4235


Ignore:
Timestamp:
2003-05-08T09:03:50+12:00 (21 years ago)
Author:
kjdon
Message:

now uses buttonname as content if its there for classifiers - content is what is used to determine the button for the classification

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/bin/script/convert_coll_from_gs2.pl

    r4184 r4235  
    251251        $started_classifiers = 1;
    252252        }
    253         my $content = ''; #use metadata
     253        my $content = ''; #use buttonnmae first, then metadata
    254254        if ($classname eq "DateList") {
    255255        $content = "Date";
     
    257257        for ($i=0; $i<scalar(@$cl); $i++) {
    258258            $arg = @$cl[$i];
    259             if ($arg eq "-metadata") {
     259            if ($arg eq "-buttonname"){
    260260            $content = @$cl[$i+1];
    261261            last;
     262            }elsif ($arg eq "-metadata") {
     263            $content = @$cl[$i+1];
    262264            }
     265           
    263266        }
    264267        }
Note: See TracChangeset for help on using the changeset viewer.