[solved] Request update to TableSorter


ljm42

Recommended Posts

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 by ljm42
  • Upvote 1
Link to comment
  • 1 month later...

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 by ljm42
Link to comment

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.

 

  • Upvote 1
Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.