Open mbunkus opened 3 years ago
One more reason to make plugins configurable: Turn off functions that are not needed (e.g. PDF make), in order to save transfer volume.
GET /lib/plugins/datatables/assets/pdfmake/build/pdfmake.min.js HTTP/1.1" 200 1178225
1,1MB is quite heavy, and if possible, I would like to avoid it.
I prefer
1) Make the list of included plugins configurable via the plugin's configuration.
jQuery's DataTables comes with various plugins. One we'd really like to use is
ip-address.js
and the corresponding auto-detection as we have a lot of tables with IP addresses. Without auto-detecting the type10.0.0.2
will be sorted after10.0.0.10
whereas including both theip-address/ip-address.js
andip-address-type-detection/ip-address.js
plugins causes sorting to be correct:10.0.0.2
comes before10.0.0.10
.I've worked around this by patching
action.php
and adding the following two lines:This feature request is therefore asking one of these things:
Thanks for considering it.