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

@@ -376,7 +376,7 @@ class Ratings extends Extension
} else {
$n = 0;
while (true) {
$images = Image::find_images($n, 100, Tag::explode($_POST["query"]));
$images = Search::find_images($n, 100, Tag::explode($_POST["query"]));
if (count($images) == 0) {
break;
}