Fix book search with multidatabase. re #40
This commit is contained in:
parent
ad115f08c3
commit
cd03b49954
|
@ -29,6 +29,7 @@
|
||||||
$query = getURLParam ("query");
|
$query = getURLParam ("query");
|
||||||
$qid = getURLParam ("id");
|
$qid = getURLParam ("id");
|
||||||
$n = getURLParam ("n", "1");
|
$n = getURLParam ("n", "1");
|
||||||
|
$database = GetUrlParam (DB);
|
||||||
|
|
||||||
$currentPage = Page::getPage ($page, $qid, $query, $n);
|
$currentPage = Page::getPage ($page, $qid, $query, $n);
|
||||||
$currentPage->InitializeContent ();
|
$currentPage->InitializeContent ();
|
||||||
|
@ -176,6 +177,9 @@
|
||||||
<div class="stop">
|
<div class="stop">
|
||||||
<input type="hidden" name="current" value="<?php echo $page ?>" />
|
<input type="hidden" name="current" value="<?php echo $page ?>" />
|
||||||
<input type="hidden" name="page" value="9" />
|
<input type="hidden" name="page" value="9" />
|
||||||
|
<?php if (!is_null ($database)) { ?>
|
||||||
|
<input type="hidden" name="<?php echo DB ?>" value="<?php echo $database ?>" />
|
||||||
|
<?php } ?>
|
||||||
<input type="text" name="query" />
|
<input type="text" name="query" />
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in a new issue