always sort folders/documents in ѕequence chooser by ѕequence

This commit is contained in:
Uwe Steinmann 2014-03-21 08:49:47 +01:00
parent fe3f351f24
commit 7901fa28b8
4 changed files with 4 additions and 4 deletions

View File

@ -139,7 +139,7 @@ function addFiles()
</tr>
<tr>
<td><?php printMLText("sequence");?>:</td>
<td><?php $this->printSequenceChooser($folder->getDocuments());?></td>
<td><?php $this->printSequenceChooser($folder->getDocuments('s'));?></td>
</tr>
<?php
$attrdefs = $dms->getAllAttributeDefinitions(array(SeedDMS_Core_AttributeDefinition::objtype_document, SeedDMS_Core_AttributeDefinition::objtype_all));

View File

@ -87,7 +87,7 @@ function checkForm()
</tr>
<tr>
<td class="inputDescription"><?php printMLText("sequence");?>:</td>
<td><?php $this->printSequenceChooser($folder->getSubFolders());?></td>
<td><?php $this->printSequenceChooser($folder->getSubFolders('s'));?></td>
</tr>
<?php
$attrdefs = $dms->getAllAttributeDefinitions(array(SeedDMS_Core_AttributeDefinition::objtype_folder, SeedDMS_Core_AttributeDefinition::objtype_all));

View File

@ -136,7 +136,7 @@ function checkForm()
print "<tr>";
print "<td class=\"inputDescription\">" . getMLText("sequence") . ":</td>";
print "<td>";
$this->printSequenceChooser($folder->getDocuments(), $document->getID());
$this->printSequenceChooser($folder->getDocuments('s'), $document->getID());
print "</td></tr>";
}
if($attrdefs) {

View File

@ -95,7 +95,7 @@ function checkForm()
print "<tr>";
print "<td>" . getMLText("sequence") . ":</td>";
print "<td>";
$this->printSequenceChooser($parent->getSubFolders(), $folder->getID());
$this->printSequenceChooser($parent->getSubFolders('s'), $folder->getID());
print "</td></tr>\n";
}