From 1fbe7a83300706e4bbba534cd8fb4566cb7244ae Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Mon, 20 Feb 2006 14:53:37 +0000 Subject: [PATCH] Default to sourcenames search when displaying source packages --- lib/Packages/DoShow.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Packages/DoShow.pm b/lib/Packages/DoShow.pm index b1bf7ac..05b5dc9 100644 --- a/lib/Packages/DoShow.pm +++ b/lib/Packages/DoShow.pm @@ -438,7 +438,7 @@ sub do_show { print_search_field => 'packages', search_field_values => { keywords => '', - searchon => 'names', + searchon => $opts->{source} ? 'sourcenames' : 'names', arch => 'any', suite => 'all', section => 'all', -- 2.39.2