|
|
|
@@ -85,7 +85,7 @@ var pageSize = 15; |
|
|
|
var currentSearchTableName ="repository"; |
|
|
|
var currentSearchKeyword=""; |
|
|
|
var currentSearchSortBy=""; |
|
|
|
var currentSearchAscending=false; |
|
|
|
var currentSearchAscending="false"; |
|
|
|
var OnlySearchLabel=false; |
|
|
|
var startIndex =1; |
|
|
|
var endIndex = 5; |
|
|
|
@@ -122,7 +122,7 @@ function search(){ |
|
|
|
initPageInfo(); |
|
|
|
if(!isEmpty(currentSearchKeyword)){ |
|
|
|
currentSearchSortBy = sortBy[10]; |
|
|
|
currentSearchAscending = false; |
|
|
|
currentSearchAscending = "false"; |
|
|
|
OnlySearchLabel =false; |
|
|
|
page(currentPage); |
|
|
|
if(currentSearchTableName != "repository"){ |
|
|
|
@@ -169,7 +169,7 @@ function initDiv(isSearchLabel=false){ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
function searchLabel(tableName,keyword,sortBy="",ascending=false){ |
|
|
|
function searchLabel(tableName,keyword,sortBy="",ascending="false"){ |
|
|
|
console.log("enter label search."); |
|
|
|
initDiv(true); |
|
|
|
//document.getElementById("search_div").style.display="none"; |
|
|
|
|