mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-14 20:17:14 +01:00
FIX Article: Filter deleted files from thumbnail selection
This commit is contained in:
parent
19ac3415e3
commit
b7ade7b4b2
@ -8432,7 +8432,7 @@ padding: 10px;\">
|
|||||||
FROM `datei_stichwoerter` AS `ds`
|
FROM `datei_stichwoerter` AS `ds`
|
||||||
INNER JOIN `datei_version` AS `dv` ON dv.datei = ds.datei
|
INNER JOIN `datei_version` AS `dv` ON dv.datei = ds.datei
|
||||||
INNER JOIN `datei` AS `d` ON dv.datei = d.id AND IFNULL(d.geloescht, 0) = 0
|
INNER JOIN `datei` AS `d` ON dv.datei = d.id AND IFNULL(d.geloescht, 0) = 0
|
||||||
WHERE ds.objekt LIKE 'artikel' AND ds.parameter = '%d'
|
WHERE ds.objekt LIKE 'artikel' AND ds.parameter = '%d' AND d.geloescht = 0
|
||||||
AND
|
AND
|
||||||
(
|
(
|
||||||
ds.subjekt like 'Shopbild'
|
ds.subjekt like 'Shopbild'
|
||||||
|
Loading…
Reference in New Issue
Block a user