From: Frank Lichtenheld Date: Mon, 20 Feb 2006 14:53:37 +0000 (+0000) Subject: Default to sourcenames search when displaying source packages X-Git-Tag: switch-to-templates~104 X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=1fbe7a83300706e4bbba534cd8fb4566cb7244ae;p=deb%2Fpackages.git Default to sourcenames search when displaying source packages --- 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',