英文:
How to sort files by created date in Voyager Storage
问题
如标题所述...
我如何在使用Laravel的Voyager存储中按创建日期对文件进行排序?
目前它按最旧的文件排序,最新的文件显示在最后,但我想要让最新的文件显示在最前面。
我已经查阅了Voyager文档,但未找到有用的信息。
我正在使用Laravel 5.6和Voyager 1.1。
英文:
As stated in the title...
How can I sort files by created date in Voyager Storage using Laravel?
Currently it is sorted by oldest files and newest last, but I want to make it so that newest files are shown first.
I have looked through the Voyager documentation but could not find anything useful.
I am using Laravel 5.6 and Voyager 1.1.
答案1
得分: 0
看起来你必须查看DataType模型,browse.blade视图模板,和VoyagerBaseControlller。
希望我的回答能够帮助。
祝好!
英文:
It seems you must look at the DataType model, browse.blade view template, and VoyagerBaseControlller.
Hope my answer could help.
Cheers.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论