sorting: recency -> score

This commit is contained in:
Johannes Rieken 2016-02-04 16:23:41 +01:00
parent 6bd9a98c8c
commit 244d5b460b

View file

@ -60,15 +60,14 @@ class ExtensionTip {
if (this === tip) {
return 0;
}
let result = tip.score - this.score;
let result = tip._touched - this._touched;
if (result === 0) {
result = tip._touched - this._touched;
result = tip.score - this.score;
}
return result;
}
}
export class ExtensionTipsService implements IExtensionTipsService {
serviceId: any;