summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5070953)
raw | patch | inline | side by side (parent: 5070953)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 10 Sep 2009 07:18:25 +0000 (07:18 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 10 Sep 2009 07:18:25 +0000 (07:18 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14222 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_listing.inc | patch | blob | history | |
gosa-core/include/class_pluglist.inc | patch | blob | history |
index 4ec646bdd82a46fbbb2612dd0dbc5307f1044166..3152261315bf622e870a439b4cde30fcc47ca6a5 100644 (file)
if (preg_match('/^export.*$/', $_POST['act']) && isset($this->exporter[$_POST['act']])) {
$exporter= $this->exporter[$_POST['act']];
$userinfo= ", "._("created by")." ".$ui->cn." - ".strftime('%A, %d. %B %Y, %H:%M:%S');
- $instance= new $exporter['class']($this->headline.$userinfo, $this->plainHeader, $this->entries, $this->exportColumns);
+ $entryIterator= new listingSortIterator($this->entries, $this->sortDirection[$this->sortColumn], "_sort".$this->sortColumn, $this->sortType);
+ $sortedEntries= array();
+ foreach ($entryIterator as $entry){
+ $sortedEntries[]= $entry;
+ }
+ $instance= new $exporter['class']($this->headline.$userinfo, $this->plainHeader, $sortedEntries, $this->exportColumns);
$type= call_user_func(array($exporter['class'], "getInfo"));
$type= $type[$_POST['act']];
send_binary_content($instance->query(), $type['filename'], $type= $type['mime']);
index 0bed2a8a7ae3f57587e54cb9a422fa5cd9a15cfc..9789a57764ea1a2e788e382e3b7667a437869707 100644 (file)
var $current= "";
var $info= array();
var $headlines = array();
- var $allowed_plugins = array();
- var $silly_cache= array();
+ var $allowed_plugins = array();
+ var $silly_cache= array();
function pluglist(&$config, &$ui)
{