Skip to content

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

Open
@yhbyun

Description

@yhbyun

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions