Skip to content

Commit

Permalink
Merge pull request #71 from daldoyle/master
Browse files Browse the repository at this point in the history
fixing project + sort issue
  • Loading branch information
daldoyle authored Nov 15, 2018
2 parents 5555553 + ed692e1 commit 36b7791
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/GRNOC/TSDS/Parser.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2068,7 +2068,10 @@ sub _get_meta_limit_result {
foreach my $item (@$order_fields){
my $name = $item->[0];
my $dir = $item->[1];


# need this field projected to be able to sort on it
$project_fields{$name} = 1;

if (! defined $dir || $dir =~ /asc/i){
$dir = 1;
}
Expand Down

0 comments on commit 36b7791

Please sign in to comment.