post/view?search -> post/view#search for better caching

This commit is contained in:
Shish 2010-02-09 09:04:37 +00:00
parent 0d95bcb0b3
commit 5f88ba906f

View File

@ -50,7 +50,7 @@ EOD;
$page->add_block(new Block("Navigation", $nav, "left", 0)); $page->add_block(new Block("Navigation", $nav, "left", 0));
if(count($images) > 0) { if(count($images) > 0) {
if($query) { if($query) {
$page->add_block(new Block("Images", $this->build_table($images, "search=$query"), "main", 10)); $page->add_block(new Block("Images", $this->build_table($images, "#search=$query"), "main", 10));
$this->display_paginator($page, "post/list/$query", null, $this->page_number, $this->total_pages); $this->display_paginator($page, "post/list/$query", null, $this->page_number, $this->total_pages);
} }
else { else {