Open yhbyun opened 10 years ago
I think that total tricks count shows wrong number in user public profile view. At line 24 in app views/user/public.blade.php file,
app views/user/public.blade.php
<tr> <th>Total tricks:</th> <td>{{ count($tricks) }}</td> </tr>
It shows not total tricks number but tricks count in one page. I think it should be changed as follows.
<tr> <th>Total tricks:</th> <td>{{ $tricks->getTotal() }}</td> </tr>
The similar bug appears in the next Last trick. It shows last posting date in one page, but I have no good idea to fix this bug.
Last trick
<tr> <th width="140">Last trick:</th> <td>{{ $user->lastActivity($tricks) }}</t </tr>
I hope this will help your coding.
I think that total tricks count shows wrong number in user public profile view. At line 24 in
app views/user/public.blade.php
file,It shows not total tricks number but tricks count in one page. I think it should be changed as follows.
The similar bug appears in the next
Last trick
. It shows last posting date in one page, but I have no good idea to fix this bug.I hope this will help your coding.