Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug : total tricks count in user public profile view #44

Open
yhbyun opened this issue Apr 12, 2014 · 0 comments
Open

Bug : total tricks count in user public profile view #44

yhbyun opened this issue Apr 12, 2014 · 0 comments

Comments

@yhbyun
Copy link
Contributor

yhbyun commented Apr 12, 2014

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,

<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.

<tr>
    <th width="140">Last trick:</th>
    <td>{{ $user->lastActivity($tricks) }}</t
</tr>

I hope this will help your coding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant