sort order for inline queries is case sensitive


Author: M8R-1omeu9

It would be really nice if one could have as a default (or specify) that |sort=someProperty sorts results in case insensitive order.

This clears up any confusion when there are many results and GIMP comes before Gdb, and CPPI comes before Clisp, for example.

Version: unspecified
Severity: enhancement
OS: Linux
Platform: PC

bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz33134.
bzimport created this task.Via LegacyDec 14 2011, 9:32 PM
mkroetzsch added a comment.Via ConduitMar 26 2012, 8:59 AM

SMW will respect the sort key that is set in MediaWiki, so it is possible to manually defined a lower-case sort key as a workaround.

In general, the sort mode depends on the setting in the database and cannot easily be changed from query to query based on parameters. It might be possible for you to manually change the collation setting of the database table (for SMW sortkeys, the respective table is smw_ids, column smw_sortkey) so that it is not case sensitive.

How about MediaWiki's sorting behaviour on Category pages? Ideally, SMW should behave in the same way.

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.