* added forgotten brick-file names from last commit
* implemented Tab: 'Stack Rules'
* implemented Tab: 'Linked with'
This commit is contained in:
Sarjuuk
2013-08-25 10:02:23 +02:00
parent d45b972d14
commit ad31501bd7
4 changed files with 534 additions and 90 deletions

View File

@@ -163,12 +163,10 @@ abstract class BaseType
$this->setupQuery = str_replace('[cond]', empty($sql) ? '1' : '('.implode($linking, $sql).')', $this->setupQuery);
$this->setupQuery .= $limit;
$rows = DB::Aowow()->SelectPage($cnt, $this->setupQuery);
$rows = DB::Aowow()->SelectPage($this->matches, $this->setupQuery);
if (!$rows)
return;
$this->matches = $cnt;
foreach ($rows as $k => $tpl)
$this->templates[$k] = $tpl;