how did this work in the first place? x_x
This commit is contained in:
parent
a7caf1e060
commit
89e72b0f02
@ -97,7 +97,7 @@ class AdminPage implements Extension {
|
||||
$database->Execute("
|
||||
UPDATE tags
|
||||
SET count = COALESCE(
|
||||
SELECT COUNT(image_id) FROM image_tags WHERE tag_id=tags.id GROUP BY tag_id,
|
||||
(SELECT COUNT(image_id) FROM image_tags WHERE tag_id=tags.id GROUP BY tag_id),
|
||||
0
|
||||
)");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user