Modify

Opened 10 years ago

Last modified 5 years ago

#12276 reopened enhancement

Upgrade tablesorter.js

Reported by: engenilk@… Owned by: Peter Suter
Priority: low Component: TableSorterPlugin
Severity: trivial Keywords: upgrade
Cc: Trac Release: 1.0

Description

Please update the tablesorter.js base version, allowing access to new features like IP sorting, for example

Attachments (0)

Change History (9)

comment:1 Changed 10 years ago by Peter Suter

Resolution: cantfix
Status: newclosed

The tablesorter.js used here corresponds to the current "full release" query.tablesorter.zip from http://tablesorter.com/docs/ (labelled 2.0.5b).

Their Github repository has no tags. issue 65 suggests a tag for the latest release (2.0.5). That seems to contain the same code.

The current repository contains different code, but the same version number 2.0.5.

I don't really want to use an unreleased unversioned development snapshot of tablesorter.js.

Please reopen this ticket when a new versioned release (tagged or packaged) is available, thanks.

comment:2 Changed 10 years ago by engenilk@…

I'm referring to this: https://plugins.jquery.com/tablesorter/

Version 2.17.8

The IP sorting works well in this version.

comment:3 Changed 10 years ago by engenilk@…

Resolution: cantfix
Status: closedreopened

comment:4 Changed 9 years ago by Ryan J Ollos

Cc: Ryan J Ollos added

comment:5 Changed 9 years ago by Ryan J Ollos

I'm still planning to add this feature to Trac for milestone:1.2 (trac:#11682), so I'd be interested to see the plugin upgraded and tested ahead of that, if possible.

comment:6 Changed 9 years ago by Peter Suter

Isn't this more trac:#11683?

I don't use this plugin myself, and I don't consider it a very good plugin. (The plugin is such a thin wrapper around the library it barely exists. There's no control over anything. Due to the THEAD problem it's almost unusable. The licensing is complicated. ...)

Also the library that was used from http://tablesorter.com seems to be abandoned. The one from comment:2 is a fork that confusingly didn't change the name. (Admittedly that fork still looks active.)

comment:7 Changed 9 years ago by Ryan J Ollos

Yes I misquoted, it's trac:#11683. I'm not as interested in WikiTables as adding client-side sort to query results and tables on the admin pages. If the tablesorter library doesn't prove to be good I'll investigate using a different library.

comment:8 Changed 9 years ago by Peter Suter

The fork may be a good fit for "real" integration with admin pages, I don't know. I would recommend looking at the library (or other libraries) directly for that though, as this plugin only does the absolute bare minimum hack to allow some tables to be sorted on wiki pages.

(Even upgrading / changing the library to the fork seems to complicate the plugin too much for what it is.)

Last edited 9 years ago by Peter Suter (previous) (diff)

comment:9 Changed 5 years ago by Ryan J Ollos

Cc: Ryan J Ollos removed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as reopened The owner will remain Peter Suter.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.