add a missing # in the danbooru original theme, fixes #834

joe/cache-regex-fix
Shish 1 year ago
parent d79430be1e
commit f5b3276e62
  1. 2
      themes/danbooru/index.theme.php

@ -26,7 +26,7 @@ class CustomIndexTheme extends IndexTheme
$page->add_block(new Block("Search", $nav, "left", 0));
if (count($images) > 0) {
if ($query) {
$page->add_block(new Block("Posts", $this->build_table($images, "search=$query"), "main", 10));
$page->add_block(new Block("Posts", $this->build_table($images, "#search=$query"), "main", 10));
$this->display_paginator($page, "post/list/$query", null, $this->page_number, $this->total_pages);
} else {
$page->add_block(new Block("Posts", $this->build_table($images, null), "main", 10));

Loading…
Cancel
Save