1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-18 07:52:23 +01:00

(bug) unable to show projects next page button

This commit is contained in:
Du Peng 2023-08-11 11:26:09 +02:00
parent cfe2cbdda1
commit 7187e53835
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
- Fix a bug: event reserved places compute error
- Fix a bug: event canceled places error
- 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`
## v6.0.11 2023 July 21

View File

@ -47,6 +47,6 @@ class ProjectService
records = records.includes(:users, :project_image)
records = records.page(params[:page]) if paginate
{ total: records.count, projects: records }
{ total: records.total_count, projects: records }
end
end