Closed MohamedAsan closed 2 years ago
Describe the bug Unable to view the pages other than the first page in Speakers, Stories, Places & Users list page
To Reproduce Steps to reproduce the behavior:
Expected behavior User should be navigated to 2nd page and corresponding entities must be displayed
Actual behavior User remains in the first page itself and same entities are displayed
Screenshots
Additional context The following error is displayed in the logs
Unpermitted parameters: :locale, :page
Root Cause: https://github.com/thoughtbot/administrate/issues/1957 https://github.com/thoughtbot/administrate/pull/1725
Proposed Fix: Specify the param_name in paginate method
param_name
paginate
<%= paginate resources, param_name: '_page' %>
@rudokemper I would like to fix this issue along with #648 as it is blocking its testing
Describe the bug Unable to view the pages other than the first page in Speakers, Stories, Places & Users list page
To Reproduce Steps to reproduce the behavior:
Expected behavior User should be navigated to 2nd page and corresponding entities must be displayed
Actual behavior User remains in the first page itself and same entities are displayed
Screenshots
Additional context The following error is displayed in the logs
Root Cause: https://github.com/thoughtbot/administrate/issues/1957 https://github.com/thoughtbot/administrate/pull/1725
Proposed Fix: Specify the
param_name
inpaginate
method