This commit is contained in:
2026-08-07 22:22:51 +02:00
parent c22ae5bde0
commit a80e6dab96
4 changed files with 8 additions and 2 deletions

View File

@@ -260,7 +260,7 @@ export default (router, tpl) => {
FROM items i
JOIN user_halls_assign uha ON uha.item_id = i.id
${modeFilter}
WHERE uha.hall_id = ${hall.id} AND i.active = true
WHERE uha.hall_id = ${hall.id} AND i.active = true AND COALESCE(i.visibility, 0) = 0
ORDER BY RANDOM()
LIMIT 3
`;