All of lore.kernel.org
 help / color / mirror / Atom feed
* [review-request] 5921 "Task outcomes are sorted by database value, instead of alphabetically"
@ 2014-04-11  4:56 Reyna, David
  2014-04-11 15:14 ` Barros Pena, Belen
  0 siblings, 1 reply; 5+ messages in thread
From: Reyna, David @ 2014-04-11  4:56 UTC (permalink / raw)
  To: BARROS PENA, BELEN, DAMIAN, ALEXANDRU; +Cc: toaster

[-- Attachment #1: Type: text/plain, Size: 714 bytes --]

Hi Belén and Alex,

I have completed 5921, using the technique of a python class 'property' as a 'field' together with an explicit python sort (instead of 'sortby'), as described in this web site. This general method can be used for any transient or synthesized value of a class instance.

    http://blog.mattwoodward.com/2013/02/generating-and-sorting-on-transient.html

The branch is here: dreyna/outcome_sort_5921

This patch handles both forward and reverse sorts, plus it handles the '-1' base for the outcome text table and the convention of using a blank string for sstate_cache values of SSTATE_NA. The regular column sorts pass the regression test. I also ran the HTML Validator.

- David



[-- Attachment #2: Type: text/html, Size: 1461 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-05-08 12:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-11  4:56 [review-request] 5921 "Task outcomes are sorted by database value, instead of alphabetically" Reyna, David
2014-04-11 15:14 ` Barros Pena, Belen
2014-04-11 15:45   ` Reyna, David
2014-04-11 15:49     ` Barros Pena, Belen
2014-05-08 12:45       ` Damian, Alexandru

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.