Fix sort on file manager of website
This commit is contained in:
parent
518853bb96
commit
fcee3a68f4
@ -1132,6 +1132,9 @@ table[summary="list_of_modules"] .fa-cog {
|
|||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hideonsmartphone { display: none; }
|
||||||
|
.hideonsmartphoneimp { display: none !important; }
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Force values for small screen 570 */
|
/* Force values for small screen 570 */
|
||||||
@ -1189,8 +1192,6 @@ table[summary="list_of_modules"] .fa-cog {
|
|||||||
max-width: 138px; /* length of input text in the quick search box when using a smartphone and without dolidroid */
|
max-width: 138px; /* length of input text in the quick search box when using a smartphone and without dolidroid */
|
||||||
}
|
}
|
||||||
|
|
||||||
.hideonsmartphone { display: none; }
|
|
||||||
.hideonsmartphoneimp { display: none !important; }
|
|
||||||
.noenlargeonsmartphone { width : 50px !important; display: inline !important; }
|
.noenlargeonsmartphone { width : 50px !important; display: inline !important; }
|
||||||
.maxwidthonsmartphone, #search_newcompany.ui-autocomplete-input { max-width: 100px; }
|
.maxwidthonsmartphone, #search_newcompany.ui-autocomplete-input { max-width: 100px; }
|
||||||
.maxwidth50onsmartphone { max-width: 40px; }
|
.maxwidth50onsmartphone { max-width: 40px; }
|
||||||
|
|||||||
@ -271,7 +271,11 @@ if (GETPOST('optioncontent')) $algo .= 'content';
|
|||||||
if (GETPOST('optionsitefiles')) $algo .= 'sitefiles';
|
if (GETPOST('optionsitefiles')) $algo .= 'sitefiles';
|
||||||
|
|
||||||
if (empty($sortfield)) {
|
if (empty($sortfield)) {
|
||||||
$sortfield = 'pageurl'; $sortorder = 'ASC';
|
if ($action == 'file_manager') {
|
||||||
|
$sortfield='name'; $sortorder = 'ASC';
|
||||||
|
} else {
|
||||||
|
$sortfield = 'pageurl'; $sortorder = 'ASC';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$searchkey = GETPOST('searchstring', 'none');
|
$searchkey = GETPOST('searchstring', 'none');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user