diff --git a/lam/help/help.inc b/lam/help/help.inc index 69d8af2e..5cfeaed1 100644 --- a/lam/help/help.inc +++ b/lam/help/help.inc @@ -145,7 +145,7 @@ $helpArray = array ( "242" => array ("Headline" => _("Password policy"), "Text" => _("Here you can specify minimum requirements for passwords. The character classes are: lowercase, uppercase, numeric and symbols.")), "250" => array ("Headline" => _("Filter"), - "Text" => _("Here you can input small filter expressions (e.g. 'value' or 'v*'). LAM will filter case-insensitive.")), + "Text" => _("Here you can input simple filter expressions (e.g. 'value' or 'v*'). The filter is case-sensitive.")), // 300 - 399 // Roland Gruber // profile editor, file upload diff --git a/lam/lib/lists.inc b/lam/lib/lists.inc index f19f7355..f4e0eac4 100644 --- a/lam/lib/lists.inc +++ b/lam/lib/lists.inc @@ -78,6 +78,9 @@ class lamList { /** filter string to include in URL */ protected $filterText; + + /** LDAP filter part which was entered by user via filter boxes */ + protected $filterPart = ''; /** list of possible LDAP suffixes(organizational units) */ protected $possibleSuffixes; @@ -149,30 +152,31 @@ class lamList { // print HTML head $this->listPrintHeader(); // refresh data if needed - if ($this->refresh) $this->listRefreshData(); - // filter entries - $filteredEntries = $this->listFilterAccounts(); + if ($this->refresh) { + $this->listBuildFilter(); + $this->listRefreshData(); + } // sort rows by sort column - if ($filteredEntries) { - $filteredEntries = $this->listSort($filteredEntries); + if (isset($this->entries)) { + $this->entries = $this->listSort($this->entries); } // show form echo ("