#7380 closed defect (fixed)
ClientFilter makeComparator
Reported by: | maulin | Owned by: | Jared Jurkiewicz |
---|---|---|---|
Priority: | low | Milestone: | 1.2 |
Component: | DojoX Data | Version: | 1.1.1 |
Keywords: | Cc: | [email protected]… | |
Blocked By: | Blocking: |
Description
(I promise, this one is easy and REAL...)
makeComparator breaks if descening is not explicitly declared in the sort array. so
[{attribute:"foo"}, {attribute:"bar"}]
does not work in IE6 or FF2. It works fine in FF3 however.
If you use a double-not trick on line 253, it fixes this --
return av < bv == !!descending ? 1 : -1
:-)
Change History (2)
comment:1 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 13 years ago by
Milestone: | tbd → 1.2 |
---|
Note: See
TracTickets for help on using
tickets.
Fixed in Changeset [14724], thanks Maulin!