Skip to content

kmbt's blog

finds and findings

Categories

  • Computer graphics
  • DTP
  • Laravel
  • Linux/Unix
  • Photoshop
  • PHP
  • Scripts
  • Shell
  • Software
  • Uncategorized
  • Web design
  • Windows
  • Wordpress

Tags

bac basics builtwith computer graphics debian disks dtp find fonts gantry git gpg htdebug http redirects iso date ktk laravel linux locale lxml mta patterns photoshop php plugin postfix python sata scripts sed service packs shell-fu thunderbird usb vim web design web scraping windows wordpress xp

Tag: laravel

A nice take on column sorting in Laravel

This is a very nice approach to render a table with sortable columns in Laravel PHP framework:

link.

As stated in the comments, it needs a litle cleanup. One case is when a name for a non-existent column is passed in the s parameter. In such case and exception is thrown.

Posted on 2016-08-09Categories Laravel, PHPTags laravel, phpLeave a comment on A nice take on column sorting in Laravel
Proudly powered by WordPress