Closed Bug 122847 Opened 23 years ago Closed 22 years ago

nsXULSortService needs to work with listbox

Categories

(Core Graveyard :: RDF, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.0

People

(Reporter: hewitt, Assigned: hewitt)

References

Details

(Whiteboard: [ADT2])

Attachments

(1 file)

nsXULSortService has hard-coded <tree> logic which needs to be massaged to work
with listbox.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.9
Target Milestone: mozilla0.9.9 → mozilla1.0
Marking nsbeta1 because I need this to convert Search to use listbox (and
probably others)
Blocks: 121954
Keywords: nsbeta1
nsbeta1+ per Nav triage team
Keywords: nsbeta1nsbeta1+
Depends on: 129914
I've got this to work finally.  The sort service is now generic enough that it
can sort just about any rdf-template generated content.  I have tested it with
listbox, menupopup, and outliner.  If you want to persist sorts across sessions,
you can just set sortActive, sortDirection, and sortResource on the element that
has databases="" on it.
Attached patch patchSplinter Review
ADT2 per ADT/Nav triage.
Whiteboard: [ADT2]
In the absence of waterson, I think tingley or rjc would be the next best to
review this.
Comment on attachment 73486 [details] [diff] [review]
patch

r=rjc
Attachment #73486 - Flags: review+
fixed
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
verified:  04/09/02 tr builds, win nt4, linux rh6, mac osx
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: