Headers in 'category' format don't display correctly in SMW 1.6
Closed, ResolvedPublic

Description

In the 'category' query format, the page names are meant to be split up by their first letter, with each letter getting its own header. Unfortunately, this isn't currently working with SMW 1.6 - no letters show up in the headers. I believe that's due to a problem with getSortkey(), which the format uses to get the first letter - it seems to always return a blank value, at least in this case.

I'm setting the severity to 'major' because this is the default query format used by the Semantic Drilldown extension.


Version: unspecified
Severity: major

bzimport set Reference to bz28687.
Yaron_Koren created this task.Via LegacyApr 24 2011, 9:40 PM
JeroenDeDauw added a comment.Via ConduitMay 27 2011, 7:26 PM

I added a check for such empty keys and use the page name itself instead when this is the case, which solves the issue in the QP, in r88991. It seems rather odd that SMW is returning an empty sort key though, instead of no sort keys. So if this is a bug, it is still there.

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.