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

(bug) unbale to export projects

This commit is contained in:
Du Peng 2023-09-19 14:41:06 +02:00
parent bed4a93585
commit eb4c89cd68
2 changed files with 3 additions and 1 deletions

View File

@ -9,6 +9,7 @@
- admin can see reservations of a member
- Fix a bug: unable to update card for payment schedule
- Fix a bug: user is_allow_contact is actived by default
- Fix a bug: unbale to export projects
## v6.0.14 2023 September 6

View File

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