Ignore:
Timestamp:
2014-11-28T17:09:12+13:00 (9 years ago)
Author:
sjs49
Message:

First of 2 commits to get diffcol on the 64 bit Ubuntu that has perl 5.18 to work again for the Multimedia and MARC-Singlefile collections. This commit does a sort keys once in both AZCompactList and MARCPlugin. Without the sort keys change to MARCPlugin, various entries of dc.Meta fields are stored in different orders each time. Without the sort keys change to AZCompactList, nodes with identical titles/names that differ only in capitalisation are sorted in a different order each time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/MARCPlugin.pm

    r28783 r29476  
    346346    my $metadata_mapping = $self->{'metadata_mapping'};;
    347347
    348     foreach my $marc_field ( keys %$metadata_mapping )
     348    foreach my $marc_field ( sort keys %$metadata_mapping )
    349349    {
    350350    my $gsdl_field = $metadata_mapping->{$marc_field};
Note: See TracChangeset for help on using the changeset viewer.