Ignore:
Timestamp:
2009-09-29T19:41:56+13:00 (15 years ago)
Author:
kjdon
Message:

sorting the build was broken. arcinfo was storing a sort order, but it wasn't being saved to archiveinf-doc.gdb, so during build, the order was lost. I have modifed arcinfo to store sortmeta in info as well as in order. get_info returns sortmeta. BasPlugout saves it in the gdbm database, and it is read in again by arcinfo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/plugouts/BasePlugout.pm

    r20651 r20747  
    723723    my $doc_info = $working_info->get_info($oid);
    724724
    725     my ($doc_file,$index_status) = @$doc_info;
     725    my ($doc_file,$index_status,$sortmeta) = @$doc_info;
    726726
    727727    my $oid_files = { 'doc-file' => $doc_file,
    728728              'index-status' => $index_status,
    729729              'src-file' => $source_filename,
     730              'sort-meta' => $sortmeta,
    730731              'assoc-file' => [],
    731732              'meta-file'  => [] };
     
    759760    $oid_files->{'index-status'} = [ $oid_files->{'index-status'} ];
    760761    $oid_files->{'src-file'} = [ $oid_files->{'src-file'} ];
     762    $oid_files->{'sort-meta'} = [ $oid_files->{'sort-meta'} ];
    761763
    762764    my $infodb_file_handle
Note: See TracChangeset for help on using the changeset viewer.