Add support for sorting fractions in jquery.tablesorter
OpenPublic

Description

Author: mhorvath2161

Description:
unified diff file

This patch allows tables with fractions in them to be sorted properly. It only works for the simplest of fractions consisting of only a numerator and denominator, with no other operations. It could be made more powerful, but it's beyond the scope of my efforts.


Version: unspecified
Severity: enhancement

Attached: wikibits_sort_fraction.diff

bzimport added a project: MediaWiki-JavaScript.Via ConduitNov 21 2014, 10:22 PM
bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz15404.
bzimport created this task.Via LegacySep 1 2008, 2:29 AM
bzimport added a comment.Via ConduitApr 27 2011, 8:39 AM

diebuche wrote:

Needs updated patch

Peachey88 added a comment.Via ConduitApr 30 2011, 12:09 AM

*Bulk BZ Change: +Patch to open bugs with patches attached that are missing the keyword*

Peachey88 added a comment.Via ConduitMay 17 2011, 4:55 AM

does the updated JS table sorter handle this?

Krinkle added a comment.Via ConduitSep 4 2011, 3:10 PM

Not related to language afaik (removing as bug 30673 blocker).

This is a separate bug for our javascript tablesorter.

bzimport added a comment.Via ConduitNov 9 2011, 8:40 PM

sumanah wrote:

SharkD, your patch no longer cleanly applies against trunk, so I am marking it reviewed. Thanks for the patch. If you're still running into this problem, and you would like to revise your patch, please come into #mediawiki on freenode IRC to talk about revising the patch. Thanks again!

TheDJ added a comment.Via ConduitFeb 18 2012, 4:06 PM

I have created a new and more complete fractions parser. I'll complete the testcase later tonight and add it.

TheDJ added a comment.Via ConduitFeb 19 2012, 7:57 PM

Done in r111884

TheDJ added a comment.Via ConduitMar 6 2012, 10:52 AM

reverted

bzimport added a comment.Via ConduitMar 6 2012, 2:38 PM

sumanah wrote:

(for the benefit of other interested readers -- reverted in r113122 )

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.