Difference between revisions of "Issue:Sort ignoring punctuation"

From FollowTheScore
Jump to: navigation, search
(New page: {{Issue |Type = Bug / Change Request |Extension = DPL |Version = ? |Description = |Status = open }} == Problem == Is there any way to get a sort which ignores pu...)
 
(Reply)
 
Line 12: Line 12:
  
 
== Reply ==
 
== Reply ==
 +
 +
You could create an additional column in your output table by applying a regexp to the %TITLE%.
 +
you can make that column almost invisible and use a javascripot command to sort the table by this column before it is being displayed.
 +
 +
See [[DPL Example 023]].

Latest revision as of 18:51, 26 June 2009

Description:
Extension / Version: DPL   /   ?
Type / Status: Bug / Change Request   /   open

Problem

Is there any way to get a sort which ignores punctuation characters in the title? I got a list starting with a page beginning in 'U, then come the pages beginning in A. Not pretty! Ideally there should be a sort mode ignoring all non-letters (in the Unicode sense) Melroch 14:12, 26 June 2009 (UTC)

Reply

You could create an additional column in your output table by applying a regexp to the %TITLE%. you can make that column almost invisible and use a javascripot command to sort the table by this column before it is being displayed.

See DPL Example 023.