mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-14 20:17:14 +01:00
Merge pull request #126 from exciler/Fix_ArtikelStandardbild
use "sort" field when choosing default image
This commit is contained in:
commit
d0b414b9f6
@ -37563,7 +37563,7 @@ function Firmendaten($field,$projekt="")
|
|||||||
WHERE ds.objekt LIKE 'Artikel' AND
|
WHERE ds.objekt LIKE 'Artikel' AND
|
||||||
ds.parameter = '%d' AND
|
ds.parameter = '%d' AND
|
||||||
(ds.subjekt LIKE 'Shopbild' OR ds.subjekt LIKE 'Druckbild' OR ds.subjekt LIKE 'Bild')
|
(ds.subjekt LIKE 'Shopbild' OR ds.subjekt LIKE 'Druckbild' OR ds.subjekt LIKE 'Bild')
|
||||||
ORDER BY ds.subjekt LIKE 'Shopbild' DESC, ds.subjekt LIKE 'Druckbild' DESC
|
ORDER BY ds.subjekt LIKE 'Shopbild' DESC, ds.subjekt LIKE 'Druckbild' DESC, ds.sort
|
||||||
LIMIT 1",
|
LIMIT 1",
|
||||||
$artikel)
|
$artikel)
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user