|
|
@ -126,6 +126,7 @@ module SearchHelper |
|
|
|
def link_to_previous_search_page(pagination_previous_date) |
|
|
|
def link_to_previous_search_page(pagination_previous_date) |
|
|
|
link_to_content_update(l(:label_previous), |
|
|
|
link_to_content_update(l(:label_previous), |
|
|
|
@search_params.merge(previous: 1, |
|
|
|
@search_params.merge(previous: 1, |
|
|
|
|
|
|
|
project_id: @project.try(:identifier), |
|
|
|
offset: pagination_previous_date.to_r.to_s), |
|
|
|
offset: pagination_previous_date.to_r.to_s), |
|
|
|
class: 'navigate-left') |
|
|
|
class: 'navigate-left') |
|
|
|
end |
|
|
|
end |
|
|
@ -133,6 +134,7 @@ module SearchHelper |
|
|
|
def link_to_next_search_page(pagination_next_date) |
|
|
|
def link_to_next_search_page(pagination_next_date) |
|
|
|
link_to_content_update(l(:label_next), |
|
|
|
link_to_content_update(l(:label_next), |
|
|
|
@search_params.merge(previous: nil, |
|
|
|
@search_params.merge(previous: nil, |
|
|
|
|
|
|
|
project_id: @project.try(:identifier), |
|
|
|
offset: pagination_next_date.to_r.to_s), |
|
|
|
offset: pagination_next_date.to_r.to_s), |
|
|
|
class: 'navigate-right') |
|
|
|
class: 'navigate-right') |
|
|
|
end |
|
|
|
end |
|
|
|