Changeset 201 for server/trunk/web/lib/Sophie/Controller/Search.pm
- Timestamp:
- 12/27/10 16:32:15 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/trunk/web/lib/Sophie/Controller/Search.pm
r148 r201 30 30 $c->req->params->{type} = $c->session->{type}; 31 31 $c->req->params->{deptype} = $c->session->{deptype}; 32 foreach (qw(distribution release arch)) { 33 $c->req->params->{$_} = $c->session->{search_dist}{$_}; 34 } 32 35 } else { 33 36 $c->session->{search} = $c->req->params->{search}; 34 37 $c->session->{type} = $c->req->params->{type}; 35 38 $c->session->{deptype} = $c->req->params->{deptype}; 36 } 37 38 my $searchspec = { 39 }; 39 foreach (qw(distribution release arch)) { 40 $c->session->{search_dist}{$_} = $c->req->params->{$_}; 41 } 42 } 43 44 my $searchspec = { %{ $c->session->{search_dist} } }; 40 45 41 46 for ($c->req->param('type')) {
Note: See TracChangeset
for help on using the changeset viewer.