kyslik/column-sortable
Add sortable table columns to Laravel 5.5–8. Generate clickable links in Blade, configure sortable fields and icons, and sort by related hasOne/belongsTo attributes or withCount(). Works seamlessly with pagination and query building.
Full Changelog: https://github.com/Kyslik/column-sortable/compare/7.0.0...8.0.0
Full Changelog: https://github.com/Kyslik/column-sortable/compare/6.6.0...7.0.0
Full Changelog: https://github.com/Kyslik/column-sortable/compare/6.5.0...6.6.0
Full Changelog: https://github.com/Kyslik/column-sortable/compare/6.4.2...6.5.0
Full Changelog: https://github.com/Kyslik/column-sortable/compare/6.4.1...6.4.2
Adds in the ability to use a custom href when generating the link
This release adds support for L8.
Support L6.1
changed:
order to direction in code as well as query parameterAdd possibility to configure join type; see configuration file for more information.
related issue: #59
Add possibility to configure join type; see configuration file for more information.
related issue: #59
Package versioning change, everything should work as expected.
Package versioning change, everything should work as expected.
Package versioning change, everything should work as expected.
Package versioning change, everything should work as expected.
introducing $sortableAs see #44.
Implemented #38 and #39.
Table name is always prepended to order by clause; see #39
$model->getTable() . '.' . $column;
[@sortablelink](https://github.com/sortablelink)() directive now accepts 3rd parameter... more here and #38.
Added belongsTo, overriding queryOrderBuilder (it is possible to write your own joins).
Fix issue #36, now accepting ' and ", formatting functions can be passed
[@sortablelink](https://github.com/sortablelink)("id", trans('column-sortable.id'))
[@sortablelink](https://github.com/sortablelink)("name", "Name")
[@sortablelink](https://github.com/sortablelink)('email')
[@sortablelink](https://github.com/sortablelink)('detail.phone_number', trans('column-sortable.phone'))
$ php artisan vendor:publish --provider="Kyslik\ColumnSortable\ColumnSortableServiceProvider" --tag="config"
$ php artisan view:clear
composer.json updated ColumnSortableServiceProvider.php updated since extending blade in L5.3 changed - see https://laravel.com/docs/5.3/upgrade#upgrade-5.3.0
see #31
merge PR -> adding support for 'clickable icon' adding support for 'icon-anchor separator' which makes sense in case you have clickable icon turned on (true); separator creates possibility to style icon and anchor-text properly
How can I help you explore Laravel packages today?