OPDS id are cleanly handled. re #40
This commit is contained in:
parent
ad52901226
commit
526483d7a5
2 changed files with 6 additions and 2 deletions
4
base.php
4
base.php
|
@ -267,6 +267,8 @@ class Entry
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!is_null (GetUrlParam (DB))) $this->id = GetUrlParam (DB) . ":" . $this->id;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -367,7 +369,7 @@ class Page
|
|||
if (is_array ($config['calibre_directory']) && is_null ($database)) {
|
||||
$i = 0;
|
||||
foreach ($config['calibre_directory'] as $key => $value) {
|
||||
array_push ($this->entryArray, new Entry ($key, DB . ":{$i}",
|
||||
array_push ($this->entryArray, new Entry ($key, "{$i}:cops:catalog",
|
||||
"", "text",
|
||||
array ( new LinkNavigation ("?" . DB . "={$i}"))));
|
||||
$i++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue