Forgot two while fixing the ids. re #104
This commit is contained in:
parent
fa5ec6cb58
commit
9cf33d7d1c
|
@ -97,7 +97,7 @@ class OPDSRenderer
|
||||||
if ($page->idPage)
|
if ($page->idPage)
|
||||||
{
|
{
|
||||||
$idPage = $page->idPage;
|
$idPage = $page->idPage;
|
||||||
if (!is_null (GetUrlParam (DB))) $idPage = GetUrlParam (DB) . ":" . $idPage;
|
if (!is_null (GetUrlParam (DB))) $idPage = str_replace ("cops:", "cops:" . GetUrlParam (DB) . ":", $idPage);
|
||||||
self::getXmlStream ()->text ($idPage);
|
self::getXmlStream ()->text ($idPage);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
2
base.php
2
base.php
|
@ -443,7 +443,7 @@ class Page
|
||||||
$i = 0;
|
$i = 0;
|
||||||
foreach ($config['calibre_directory'] as $key => $value) {
|
foreach ($config['calibre_directory'] as $key => $value) {
|
||||||
$nBooks = Book::getBookCount ($i);
|
$nBooks = Book::getBookCount ($i);
|
||||||
array_push ($this->entryArray, new Entry ($key, "{$i}:cops:catalog",
|
array_push ($this->entryArray, new Entry ($key, "cops:{$i}:catalog",
|
||||||
str_format (localize ("bookword", $nBooks), $nBooks), "text",
|
str_format (localize ("bookword", $nBooks), $nBooks), "text",
|
||||||
array ( new LinkNavigation ("?" . DB . "={$i}"))));
|
array ( new LinkNavigation ("?" . DB . "={$i}"))));
|
||||||
$i++;
|
$i++;
|
||||||
|
|
Loading…
Reference in a new issue