Changeset 266 for server/trunk/web


Ignore:
Timestamp:
01/02/11 02:48:39 (13 years ago)
Author:
nanardon
Message:
  • fix search on other distribution when pkg has not been found
File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/trunk/web/lib/Sophie/Controller/Chat/Cmd.pm

    r264 r266  
    104104                { 
    105105                    distribution => $searchspec->{distribution}, 
     106                    src => $searchspec->{src}, 
    106107                    rows => 1, 
    107108                }, $name ]); 
     
    112113        } 
    113114    } 
    114     my $rpmlist = $c->forward('/search/rpm/byname', [ {}, $name ]); 
     115    my $rpmlist = $c->forward('/search/rpm/byname', [ { src => 
     116                $searchspec->{src}}, $name ]); 
    115117    my %dist; 
    116118    foreach(@$rpmlist) { 
Note: See TracChangeset for help on using the changeset viewer.