On Thu, 29 Jun 2006, Bryan Stearns wrote:
Sorting
- New indexes, or indexing changes, to represent complex sort orderings like
sectioned-triage (which has different sorts for sections, at least one of
which is spec'd to order differently forwards and backwards) and the
who/date/comm/reminder columns (which depend on presence/absence of many
kind-specific attributes)
One way to achieve this, possibly, is to use the little-known feature of the
AttributeIndex which can use multiple attributes to sort. Say the first
attribute is the section name, the second attribute would then be used to sort
the section and that one could be ascending or descending. Dynamically
changing the second attribute's sorting could be costly though unless the
section isn't too large.
- Do we need specific Calculated methods for index-dependent dynamic values?
(Does Calculated need to move to Schema for this?)
What is a 'Calculated' method ?
- For later: how to model manually-set ordering in the table (when the user
manually reprioritizes items by dragging them within a summary view)
If this order is modeled by a ref collection (or a numeric index), the order
is persisted and can be arbitrary, ie, user chosen.
Andi..
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Open Source Applications Foundation "chandler-dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/chandler-dev