ljm42 Posted July 29, 2017 Share Posted July 29, 2017 Currently unRAID ships with TableSorter v2.0.5b, circa 2010. Can we look at upgrading to the Mottie fork, which would give a lot more options? https://mottie.github.io/tablesorter/docs/index.html The main thing I want is second-level sorting (aka sortAppend). With this on the Plugins page, when you sort by Author or Status, it could automatically do a second-level sort on Plugin name rather than giving you a random list. Looking at the plugins I have installed, the Nerdpack, IPMI, and SpeedTest plugins all use the additional functionality from the Mottie fork to do what they need. But it doesn't seem right to do something like this: <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.tablesorter/2.28.15/js/jquery.tablesorter.combined.min.js" crossorigin="anonymous"></script> to update TableSorter on a built-in plugin (dynamix.plugin.manager) From what I can tell, they try very hard to keep backward compatibility with the original: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731095#35 so hopefully that means the impact would be minor. Link to comment
ljm42 Posted September 3, 2017 Author Share Posted September 3, 2017 I don't think it was a result of this request, but 6.4.0-rc8q now comes with Tablesorter v2.28.15 built-in to dynamix.js! Docs are here: https://mottie.github.io/tablesorter/docs/ My favorite feature is "sortAppend", which lets you sort a table by two columns. Check out the plugin manager, which is sorted first by Status, then by Name. Link to comment
bonienl Posted September 3, 2017 Share Posted September 3, 2017 Have a look at the new Browse function as well. It uses now tablesorter to do the sorting and like the plugins page, it can do sorting on two columns, e.g. first size and then name. Note to plugin developers: since latest version of tablesorter is now built-in, I would recommend to use that one instead of loading it separately. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.