feat: add pagination parameters to weather arts
- Include region, country, state, and query parameters in the pagination helper for better filtering. - This change enhances the user experience by allowing users to navigate through weather arts based on specific criteria, improving the relevance of the displayed results.
This commit is contained in:
parent
df7fbcd118
commit
30508af344
@ -166,7 +166,13 @@
|
||||
|
||||
<%= render 'shared/pagination',
|
||||
collection: @weather_arts,
|
||||
collection_name: 'weather arts' %>
|
||||
collection_name: 'weather arts',
|
||||
pagination_params: {
|
||||
region: params[:region],
|
||||
country: params[:country],
|
||||
state: params[:state],
|
||||
query: params[:query]
|
||||
}%>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user