mirror of
https://github.com/ToxicCrack/PrintABrick.git
synced 2025-05-29 10:10:25 -07:00
Fix autocomplete image preview
This commit is contained in:
parent
ab97ea5557
commit
9483dc91b9
@ -54,7 +54,7 @@ class SearchController extends Controller
|
|||||||
'id' => $id,
|
'id' => $id,
|
||||||
'name' => $name,
|
'name' => $name,
|
||||||
'url' => $this->generateUrl('model_detail', ['id' => $model->getTransformed()->getId()]),
|
'url' => $this->generateUrl('model_detail', ['id' => $model->getTransformed()->getId()]),
|
||||||
'img' => $liip->getBrowserPath('-1/'.$model->getTransformed()->getId().'.png', 'part_min'),
|
'img' => $liip->getBrowserPath('-1/'.$model->getTransformed()->getId(), 'part_min'),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -68,7 +68,7 @@ class SearchController extends Controller
|
|||||||
'id' => $id,
|
'id' => $id,
|
||||||
'name' => $name,
|
'name' => $name,
|
||||||
'url' => $this->generateUrl('set_detail', ['id' => $set->getTransformed()->getId()]),
|
'url' => $this->generateUrl('set_detail', ['id' => $set->getTransformed()->getId()]),
|
||||||
'img' => $liip->getBrowserPath($set->getTransformed()->getId().'.jpg', 'set_min'),
|
'img' => $liip->getBrowserPath($set->getTransformed()->getId(), 'set_min'),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user