
I hg'd the source, I build TB, and it runs (fine, as far as I can tell.) I went to start making changes to the code, but the file I wanted to edit is missing.
I found what I thought was the file to edit via dxr.mozilla.org. Specifically, it is comm-central/comm/mail/base/content/glodaFacetBindings.xml
I see that in the current tip at hg.mozilla.org there is no glodaFacetBindings.xml, so I guess that maybe it is no longer a current file (AFAICT it's last update was a couple years ago, so maybe it has been removed?)
That's fine, but I can't figure out where that functionality has gone. Specifically I'm looking for the code that handles the drop-down menu that chooses the sort-by for search results: "date" vs "relevance" (the div class is "results-message-sort-bar").
For example, here is the glodaFaceBindings.xml line that handles when "relevance" is chosen. No matter how I search, I can't seem to dig up the new location of that functionality. (I've been searching using dxr.mozilla.org, as well as searching through my local source tree.) I've been using things like "results-message-sort-bar" and "sortBy" and "FacetContext.sortBy" as search terms, as they are the relevant (and current) hooks, AFAIK, that the missing functionality ties in to.
Any help? Thanks!