Commit 9c3c2d88 by Masaru Abe

デフォルトソート順のプロパティ化対応

parent 39c55b20
......@@ -337,7 +337,17 @@ HISTORY.renderGridView = function(){
else{
//Render Gridview
HISTORY.renderContent(sid, searchText, searchDivision, 3, sortOrder, fromPage, toPage, genreId, groupId);
HISTORY.sortByViewDateDesc();
var sortType = ClientData.searchCond_sortType();
if(sortType == '1'){
HISTORY.sortByTitleFunction();
} else if(sortType == '2'){
HISTORY.sortByTitleKanaFunction();
} else if(sortType == '3'){
HISTORY.sortByReleaseDateFunction();
} else {
HISTORY.sortByViewDateFunction();
}
}
//Language Handle
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment