Changeset 330
- Timestamp:
- 01/21/11 13:59:02 (13 years ago)
- Location:
- server/trunk/web/lib/Sophie/Controller
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
server/trunk/web/lib/Sophie/Controller/Search.pm
r329 r330 252 252 ($searchspec->{content} ? { has_content => 1 } : ()), 253 253 ($distrs 254 ? (pkgid => { IN => [ $distrs->get_column('pkgid')->all ], },)254 ? (pkgid => { IN => $distrs->get_column('pkgid')->as_query, },) 255 255 : ()), 256 256 ($searchspec->{pkgid} -
server/trunk/web/lib/Sophie/Controller/Search/Rpm.pm
r329 r330 130 130 my ( $self, $c, $searchspec, $file) = @_; 131 131 $searchspec ||= {}; 132 my $distrs = $c->forward('/search/distrib_search', [ $searchspec, 1 ]); 132 133 133 134 my $filers = $c->forward('/search/file_rs', [ $searchspec, $file ]) … … 177 178 }, 178 179 $distrs 179 ? { pkgid => { IN => [ $distrs->get_column('pkgid')->all ], }, }180 ? { pkgid => { IN => $distrs->get_column('pkgid')->as_query, }, } 180 181 : (), 181 182 ]
Note: See TracChangeset
for help on using the changeset viewer.