Ref : https://github.com/UniSharp/laravel-filemanager/issues/337 To load files order by "time DESC" you can change the code in vendor/unisharp/laravel-filemanager/src/traits/LfmHelpers.php public function sortFilesAndDirectories($arr_items, $sort_type) { if ($sort_type == 'time') { $key_to_sort = 'updated'; } elseif ($sort_type == 'alphabetic') { $key_to_sort = 'name'; } else { $key_to_sort = 'updated'; } return strcmp($a->{$key_to_sort}, $b->{$key_to_sort}); }); return $arr_items; } with public function sortFilesAndDirectories($arr_items, $sort_type) { if ($sort_type == 'time') { $key_to_sort = 'updated'; } elseif ($sort_type == 'alphabetic') { $key_to_sort = 'name'; } else { $key_to_sort = 'updated'; ...
http://www.expertphp.in/article/laravel-5-maatwebsite-import-excel-into-db-and-export-data-into-csv-and-excel?fbclid=IwAR15Y-DrpaTJArvVRspLmusg9P4_ez-rxTpNgFWE-wJNeFEEKjiCbVJ_4qE
ReplyDeletehttps://laravel-excel.maatwebsite.nl/3.1/getting-started/installation.html?fbclid=IwAR3LKI9-yGRkSqUqpgaHPz44r0iPsIRlFhcdBQwatvzy4bJdOI8UxNMZ9Zg
ReplyDelete