Pagination and custom parameters

hello again,

I have in a controller this:

@invoice_pages, @invoices = paginate (:invoices,
:conditions =>
[‘enterprise_id = ? AND tipus = ?’, session[:user_enterprise_id] ,
params[:kind]],
:order => ‘data
ASC’,
:per_page => 10 )

in the _list.rhtml, I use this:

<%= link_to ‘Previous page’, { :page => @invoice_pages.current.previous
} if @invoice_pages.current.previous %>
<%= link_to ‘Next page’, { :page => @invoice_pages.current.next } if
@invoice_pages.current.next %>

but, the resulted links doesn’t have the extra parameter that I need:
params[:kind]]

this parameter cames from a first init link, and I want to propagate for
all the links of the resulted pagination. as I’m only receiving this
parameter once, why the pagination class can’t remember or store it in
some place, like the :conditions ?

thanks !

regards,

raimon