Page MenuHomePhabricator

sorted tables sort dates alphabetically rather than chronologically
Closed, ResolvedPublic

Description

Author: erinmr

Description:
Date should sort chronoligically and it doesn't. For an example see the URL.


Version: unspecified
Severity: normal
URL: http://datafedwiki.wustl.edu/index.php/Tasks

Details

Reference
bz10322

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:48 PM
bzimport set Reference to bz10322.
bzimport added a subscriber: Unknown Object (MLST).

erinmr wrote:

chronologically - sorry for the typo.

ayg wrote:

*** This bug has been marked as a duplicate of bug 8226 ***

erinmr wrote:

This isn't exactly a duplicate bug of 8226. The table will sort correctly if the user preference for date and time is in YYYY-MM-DD.

The hack suggested in 8226 with sort keys however, will not work for the semantic wiki. The table is generated through a query. In the SMW date is a known attribute type, so the bug is that the date sort is alphabetical and should be chronological, regardless of user time preference.

ayg wrote:

Ah, I didn't realize this was SMW, sorry.