зеркало из https://github.com/mozilla/pjs.git
Bug 278621 "sort by: calendar name" still sorts after date
patch by gekacheka@yahoo.com, r=mvl
This commit is contained in:
Родитель
f67f0595fd
Коммит
af50a4f5ef
|
@ -512,6 +512,9 @@ function compareEvents( eventA, eventB )
|
||||||
case "unifinder-search-results-tree-col-status":
|
case "unifinder-search-results-tree-col-status":
|
||||||
return compareString(eventA.status, eventB.status) * modifier;
|
return compareString(eventA.status, eventB.status) * modifier;
|
||||||
|
|
||||||
|
case "unifinder-search-results-tree-col-filename":
|
||||||
|
return compareString(eventA.parent.name, eventB.parent.name) * modifier;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче