/[webpac2]/Webpacus/lib/Webpacus/Controller/Search.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /Webpacus/lib/Webpacus/Controller/Search.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 440 by dpavlin, Sun Apr 30 23:20:12 2006 UTC revision 441 by dpavlin, Sun Apr 30 23:41:58 2006 UTC
# Line 213  sub results_ajax : Path( 'results/ajax' Line 213  sub results_ajax : Path( 'results/ajax'
213                  maxPages => $c->config->{pager}->{max_pages} || 10,                  maxPages => $c->config->{pager}->{max_pages} || 10,
214          });          });
215    
216            # generate URL for pager without _page param
217            my $params_nopage = $params;
218            delete($params_nopage->{_page});
219            $c->stash->{uri_nopage} = $c->uri_for('results', $params_nopage)->as_string;
220    
221          $c->stash->{template} = 'results.tt';          $c->stash->{template} = 'results.tt';
222    
223  }  }

Legend:
Removed from v.440  
changed lines
  Added in v.441

  ViewVC Help
Powered by ViewVC 1.1.26