refactor search a little and add much better testing

This commit is contained in:
Shish
2023-12-14 16:33:21 +00:00
committed by Shish
parent df0a8c28d9
commit a5c6f1321b
23 changed files with 902 additions and 601 deletions

View File

@ -55,7 +55,7 @@ class Home extends Extension
$num_comma = "";
$counter_text = "";
if ($counter_dir != 'none') {
$total = Image::count_images();
$total = Search::count_images();
$num_comma = number_format($total);
if ($counter_dir != 'text-only') {