RSS

(root)/bugzilla/trunk : 7375 : whine.pl

To get this branch, use:
bzr branch /bugzilla/trunk

« back to all changes in this revision

Viewing changes to whine.pl

Max Kanat-Alexander
2010-07-15 19:55:10
Revision ID: mkanat@bugzilla.org-20100716025510-anzk388p36nthy06
Bug 398308: Make Search.pm take a hashref for its "params" argument
instead of taking a CGI object.
r=mkanat, a=mkanat (module owner)

Show diffs side-by-side

added added

removed removed

446
446
        my $searchparams = new Bugzilla::CGI($savedquery);
447
447
        my $search = new Bugzilla::Search(
448
448
            'fields' => \@searchfields,
449
 
            'params' => $searchparams,
 
449
            'params' => scalar $searchparams->Vars,
450
450
            'user'   => $args->{'recipient'}, # the search runs as the recipient
451
451
        );
452
452
        my $sqlquery = $search->sql;

Loggerhead 1.18.1 is a web-based interface for Bazaar branches