tu6ge / voyager-excel

voyager excel export --一个Voyager的Excel导出插件
MIT License
21 stars 11 forks source link

Export all filtered data #7

Closed bigbambu closed 3 years ago

bigbambu commented 3 years ago

Great work with the Export to Excel hook for Voyager and is working like a charm. I was wondering if is a possible to change the option: if(empty(array_filter($ids))){ return redirect($comingFrom); }

To get all the filtered data based on criteria. Voyager by default have a server side Pagination of 15 rows/page, and for example you have 55 rows. You have to generate excel file for each 15 rows. In this way mentioned above I was thinking to export all the queried data based on search criteria.