Changed links command to Charlie K1XX's version.
[spider.git] / cmd / show / dx.pl
index ecb5dddc3dc8a36ba34750b0f52b5f1a2f94bf39..009b5fa6f24f8147887e8625af40919e6e879a24 100644 (file)
@@ -86,7 +86,7 @@ while ($f = shift @list) {            # next field
                next;
        }
        if (lc $f =~ /^filt/) {
-               $dofilter = 1;
+               $dofilter = 1 if $self->spotsfilter;
                next;
        }
        if (lc $f eq 'qsl') {
@@ -346,10 +346,14 @@ my @res = Spot::search($expr, $fromday, $today, $from, $to, $hint, $dofilter ? $
 my $ref;
 my @dx;
 foreach $ref (@res) {
-       if ($real) {
-               push @out, $self->format_dx_spot(@$ref);
+       if ($self->ve7cc) {
+               push @out, VE7CC::dx_spot($self, @$ref);
        } else {
-               push @out, Spot::formatl(@$ref);
+               if ($real) {
+                       push @out, $self->format_dx_spot(@$ref);
+               } else {
+                       push @out, Spot::formatl(@$ref);
+               }
        }
 }