mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-30 19:52:20 +01:00
(bug) unable to show projects next page button
This commit is contained in:
parent
cfe2cbdda1
commit
7187e53835
@ -3,6 +3,7 @@
|
|||||||
- Fix a bug: event reserved places compute error
|
- Fix a bug: event reserved places compute error
|
||||||
- Fix a bug: event canceled places error
|
- Fix a bug: event canceled places error
|
||||||
- Fix a bug: 403 error when manager edit an event
|
- Fix a bug: 403 error when manager edit an event
|
||||||
|
- Fix a bug: unable to show projects next page button
|
||||||
- [TODO DEPLOY] `rails fablab:setup:build_places_cache`
|
- [TODO DEPLOY] `rails fablab:setup:build_places_cache`
|
||||||
|
|
||||||
## v6.0.11 2023 July 21
|
## v6.0.11 2023 July 21
|
||||||
|
@ -47,6 +47,6 @@ class ProjectService
|
|||||||
records = records.includes(:users, :project_image)
|
records = records.includes(:users, :project_image)
|
||||||
records = records.page(params[:page]) if paginate
|
records = records.page(params[:page]) if paginate
|
||||||
|
|
||||||
{ total: records.count, projects: records }
|
{ total: records.total_count, projects: records }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user