Fix OPDS link. re #40
This commit is contained in:
parent
33cad7ad98
commit
ad52901226
1
base.php
1
base.php
|
@ -214,6 +214,7 @@ class LinkFacet extends Link
|
|||
{
|
||||
public function __construct($phref, $ptitle = NULL, $pfacetGroup = NULL, $pactiveFacet = FALSE) {
|
||||
parent::__construct ($phref, Link::OPDS_PAGING_TYPE, "http://opds-spec.org/facet", $ptitle, $pfacetGroup, $pactiveFacet);
|
||||
if (!is_null (GetUrlParam (DB))) $this->href = addURLParameter ($this->href, DB, GetUrlParam (DB));
|
||||
$this->href = $_SERVER["SCRIPT_NAME"] . $this->href;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue