]> git.deb.at Git - deb/packages.git/commitdiff
Default to sourcenames search when displaying source packages
authorFrank Lichtenheld <frank@lichtenheld.de>
Mon, 20 Feb 2006 14:53:37 +0000 (14:53 +0000)
committerFrank Lichtenheld <frank@lichtenheld.de>
Mon, 20 Feb 2006 14:53:37 +0000 (14:53 +0000)
lib/Packages/DoShow.pm

index b1bf7acbadb00939daf7a68561be053b34807822..05b5dc974c1e7964ed7eec2c700174146ec003bd 100644 (file)
@@ -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',