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:
parent
bed4a93585
commit
eb4c89cd68
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user