This commit is contained in:
parent
8929f8c55a
commit
1c54922692
|
@ -125,8 +125,7 @@
|
||||||
LEFT JOIN vn.ink k ON k.id = i.inkFk
|
LEFT JOIN vn.ink k ON k.id = i.inkFk
|
||||||
LEFT JOIN vn.producer p ON p.id = i.producerFk
|
LEFT JOIN vn.producer p ON p.id = i.producerFk
|
||||||
LEFT JOIN vn.origin o ON o.id = i.originFk
|
LEFT JOIN vn.origin o ON o.id = i.originFk
|
||||||
LEFT JOIN image im
|
LEFT JOIN image im ON im.collectionFk = 'catalog'
|
||||||
ON im.collectionFk = 'catalog'
|
|
||||||
AND im.name = i.image
|
AND im.name = i.image
|
||||||
WHERE b.available > 0
|
WHERE b.available > 0
|
||||||
ORDER BY i.relevancy DESC, i.name, i.size
|
ORDER BY i.relevancy DESC, i.name, i.size
|
||||||
|
|
Loading…
Reference in New Issue