mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
take 'orderby' into account
This commit is contained in:
parent
87d1df5d03
commit
1763bd1bae
|
@ -52,6 +52,7 @@ class SeedDMS_View_FolderChooser extends SeedDMS_Bootstrap_Style {
|
|||
$dms = $this->params['dms'];
|
||||
$user = $this->params['user'];
|
||||
$mode = $this->params['mode'];
|
||||
$orderby = $this->params['orderby'];
|
||||
$exclude = $this->params['exclude'];
|
||||
$form = $this->params['form'];
|
||||
$rootfolderid = $this->params['rootfolderid'];
|
||||
|
@ -59,7 +60,7 @@ class SeedDMS_View_FolderChooser extends SeedDMS_Bootstrap_Style {
|
|||
// $this->htmlStartPage(getMLText("choose_target_folder"));
|
||||
// $this->contentContainerStart();
|
||||
if(1) {
|
||||
$this->printNewTreeNavigationHtml($rootfolderid, $mode, 0, $form);
|
||||
$this->printNewTreeNavigationHtml($rootfolderid, $mode, 0, $form, ($this->params['expandFolderTree'] == 1) ? -1 : 3, $orderby);
|
||||
echo '<script src="../out/out.FolderChooser.php?action=js&'.$_SERVER['QUERY_STRING'].'"></script>'."\n";
|
||||
} else {
|
||||
$this->printNewTreeNavigation($rootfolderid, $mode, 0, $form);
|
||||
|
|
Loading…
Reference in New Issue
Block a user