Index: branches/RC/core/kernel/db/dblist.php =================================================================== diff -u -r10660 -r10780 --- branches/RC/core/kernel/db/dblist.php (.../dblist.php) (revision 10660) +++ branches/RC/core/kernel/db/dblist.php (.../dblist.php) (revision 10780) @@ -367,9 +367,25 @@ return false; } $this->Queried = true; + + $query_event = new kEvent($this->getPrefixSpecial() . ':OnAfterListQuery'); + $this->Application->HandleEvent($query_event); + return true; } + /** + * Adds one more record to list virtually and updates all counters + * + * @param Array $record + */ + function addRecord($record) + { + $this->Records[] = $record; + $this->SelectedCount++; + $this->RecordsCount++; + } + function CalculateTotals() { $this->Totals = Array();