Add the nmuber of elemnts in search and multidatabase view. re #79

这个提交包含在:
Sébastien Lucas 2014-06-02 21:33:10 +02:00
父节点 270c281741
当前提交 f8c7c4a3ef
共有 1 个文件被更改,包括 2 次插入2 次删除

查看文件

@ -949,7 +949,7 @@ class PageQueryResult extends Page
array_push ($this->entryArray, new Entry (str_format (localize ("search.result.{$key}"), $this->query), DB . ":query:{$d}:{$key}",
str_format (localize("{$key}word", $total), $total), "text",
array ( new LinkNavigation ("?page={$pagequery}&query={$query}&db={$d}&scope={$key}")),
Base::noDatabaseSelected () ? "" : "tt-header"));
Base::noDatabaseSelected () ? "" : "tt-header", $total));
}
if (!Base::noDatabaseSelected () && $this->useTypeahead ()) {
foreach ($array as $entry) {
@ -992,7 +992,7 @@ class PageQueryResult extends Page
list ($array, $totalNumber) = Book::getBooksByQuery (array ("all" => $crit), 1, $i, 1);
array_push ($this->entryArray, new Entry ($key, DB . ":query:{$i}",
str_format (localize ("bookword", $totalNumber), $totalNumber), "text",
array ( new LinkNavigation ("?" . DB . "={$i}&page=9&query=" . $this->query))));
array ( new LinkNavigation ("?" . DB . "={$i}&page=9&query=" . $this->query)), "", $totalNumber));
$i++;
}
return;