Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
Closes #152: Adaptive results aren't completely using adaptive ordering
Browse files Browse the repository at this point in the history
Make sure to add by adaptive use count instead of frecency ordering of adapted results.
  • Loading branch information
Mardak committed Feb 25, 2011
1 parent 31d116e commit 49b8d46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeDash/scripts/crunch.js
Expand Up @@ -123,7 +123,7 @@ function processAdaptive() {
"JOIN moz_places " +
"ON id = place_id " +
"WHERE input NOT NULL " +
"ORDER BY frecency DESC";
"ORDER BY ROUND(use_count) DESC, frecency DESC";
let cols = ["input", "url", "title"];
let stmt = Utils.createStatement(Svc.History.DBConnection, query);

Expand Down

0 comments on commit 49b8d46

Please sign in to comment.