jeremykenedy / laravel-logger

An out the box activity logger for your Laravel or Lumen application. Laravel logger is an activity event logger for your laravel application. It comes out the box with ready to use with dashboard to view your activity. Laravel logger can be added as a middleware or called through a trait. This package is easily configurable and customizable. Supports Laravel 5.3, 5.4, 5.5, 5.6, 5.7, 5.8, 6, and 7+
MIT License
578 stars 120 forks source link

Update for Laravel 8 #136

Closed fzhan closed 1 year ago

fzhan commented 2 years ago

You can update this link to get the pagination in separated buttons.

            {!! $activities->links('vendor.pagination.bootstrap-4') !!}

https://github.com/jeremykenedy/laravel-logger/blob/5d230c17fd9765f856c4c2974a0a89c9bda2d2c4/src/resources/views/logger/partials/activity-table.blade.php#L259

Also update the pagination to include Query string for the search.

            $activities = $activities->paginate(config('LaravelLogger.loggerPaginationPerPage'))->withQueryString();

https://github.com/jeremykenedy/laravel-logger/blob/5d230c17fd9765f856c4c2974a0a89c9bda2d2c4/src/App/Http/Controllers/LaravelLoggerController.php#L75