mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-16 08:18:51 +00:00
fix query behaviour when limit is present (reported by @Mazin)
This commit is contained in:
@ -198,7 +198,7 @@ sub testScan {
|
||||
my $headCmd = @$fg == 1 && $fg->[0]->{limit} ? "| head -n $fg->[0]->{limit}" : "";
|
||||
|
||||
my $resA = `./strfry export --reverse 2>/dev/null | perl test/dumbFilter.pl '$fge' $headCmd | jq -r .id | sort | sha256sum`;
|
||||
my $resB = `./strfry scan --metrics '$fge' | jq -r .id | sort | sha256sum`;
|
||||
my $resB = `./strfry scan --pause 1 --metrics '$fge' | jq -r .id | sort | sha256sum`;
|
||||
|
||||
print "$resA\n$resB\n";
|
||||
|
||||
|
Reference in New Issue
Block a user