ljm42 Posted July 29, 2017 Share Posted July 29, 2017 (edited) 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. Edited September 3, 2017 by ljm42 1 Quote Link to comment
ljm42 Posted September 3, 2017 Author Share Posted September 3, 2017 (edited) 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. Edited September 3, 2017 by ljm42 Quote 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. 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.