This commit is contained in:
6543 2019-08-27 17:19:56 +02:00
parent 7833ab0dcf
commit 4b59391a36
Signed by: 6543
GPG Key ID: A1CA74D27FD13271

View File

@ -3,7 +3,6 @@

@License MIT
@Author 6543
Credits to Stuart Langridge, http://www.kryogenix.org/code/browser/sortt/ and its contributors
*/

//safe url sort param global
@ -20,9 +19,6 @@ window.sortt=function(normsort,revsort,isdefault){
if (typeof isdefault === 'undefined') isdefault = false;
if (!(typeof isdefault === 'boolean')) isdefault = false;

// look at ReadMe
console.log("sortTable() normsort:\"" + normsort + "\" revsort:\"" + revsort + "\" sortdefault:\"" + sortdefault + "\"");

// parse URL
url_sort="";
if (window.location.search.indexOf("sort=") < 0) {
@ -35,5 +31,5 @@ window.sortt=function(normsort,revsort,isdefault){




//window.location.replace("http://localhost:3000/admin/repos?sort=feweststars&q=&tab=");
};