mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Screenshots:
fixed sql-error in manager Comments: no longer appear as upvoted for anonymous user can be voted on, again Class detail page: removed default limit on class ability query (300). now shows all spells Filter/Items: added missing table-prefix; fixed search for iconString Spells/Search: display triggered player abilities as misc. spells. (previously hidden) Misc: removed some obscure piece of old config
This commit is contained in:
@@ -29,8 +29,8 @@ class CommunityContent
|
||||
a3.displayName AS deleteUser,
|
||||
a4.displayName AS responseUser,
|
||||
IFNULL(SUM(cr.value), 0) AS rating,
|
||||
SUM(IF (cr.userId = ?d, value, 0)) AS userRating,
|
||||
SUM(IF (r.userId = ?d, 1, 0)) AS userReported
|
||||
SUM(IF(cr.userId > 0 AND cr.userId = ?d, cr.value, 0)) AS userRating,
|
||||
SUM(IF( r.userId > 0 AND r.userId = ?d, 1, 0)) AS userReported
|
||||
FROM
|
||||
?_comments c
|
||||
JOIN
|
||||
@@ -238,7 +238,7 @@ class CommunityContent
|
||||
{
|
||||
$screenshots = DB::Aowow()->select('
|
||||
SELECT s.id, a.displayName AS user, s.date, s.width, s.height, s.type, s.typeId, s.caption, s.status, s.status AS "flags"
|
||||
FROM ?_screenshots s,
|
||||
FROM ?_screenshots s
|
||||
LEFT JOIN ?_account a ON s.userIdOwner = a.id
|
||||
WHERE
|
||||
{ s.type = ?d}
|
||||
|
||||
Reference in New Issue
Block a user