File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -409,8 +409,8 @@ def page_stats
409409 def review
410410 @recent_commissions = BasilCommission . all . includes ( :entity , :user ) . order ( 'id DESC' ) . limit ( 100 )
411411
412- @commissions_per_user_id = BasilCommission . where ( 'created_at > ?' , 48 . hours . ago ) . group ( :user_id ) . order ( 'count_all DESC' ) . limit ( 5 ) . count
413- @unique_users_generating_count = BasilCommission . where ( 'created_at > ?' , 48 . hours . ago ) . group ( :user_id ) . count
412+ @commissions_per_user_id = BasilCommission . with_deleted . where ( 'created_at > ?' , 48 . hours . ago ) . group ( :user_id ) . order ( 'count_all DESC' ) . limit ( 5 ) . count
413+ @unique_users_generating_count = BasilCommission . with_deleted . where ( 'created_at > ?' , 48 . hours . ago ) . group ( :user_id ) . count
414414 end
415415
416416 def commission
You can’t perform that action at this time.
0 commit comments