mirror of
https://github.com/openclassify/openclassify.git
synced 2026-03-10 02:05:27 -05:00
commit
f5128db38e
@ -27,7 +27,7 @@
|
||||
{% include "visiosoft.module.advs::list/partials/display-mode" %}
|
||||
</div>
|
||||
</div>
|
||||
{{ addBlock('ads-list/row',{'topfields':topfields})|raw }}
|
||||
{{ addBlock('ads-list/row',{'topfields':topfields,'advs':advs})|raw }}
|
||||
<div class="row">
|
||||
{% block listContent %}
|
||||
{% include "visiosoft.module.advs::list/partials/ads" %}
|
||||
|
||||
@ -214,14 +214,8 @@ class AdvsController extends PublicController
|
||||
$advs = $this->adv_repository->addAttributes($advs);
|
||||
|
||||
|
||||
if ($isActiveDopings) {
|
||||
$dopingModel = new DopingModel();
|
||||
$featured_advs = $dopingModel->filterAdvs(2, $advs);
|
||||
|
||||
foreach ($featured_advs as $index => $ad) {
|
||||
$featured_advs[$index]->detail_url = $this->adv_model->getAdvDetailLinkByModel($ad, 'list');
|
||||
$featured_advs[$index] = $this->adv_model->AddAdsDefaultCoverImage($ad);
|
||||
}
|
||||
if ($isActiveDopings and $param != null) {
|
||||
$featured_advs = app('Visiosoft\DopingsModule\Http\Controller\DopingsController')->listFeatures($advs);
|
||||
}
|
||||
|
||||
foreach ($advs as $index => $ad) {
|
||||
|
||||
@ -52,7 +52,7 @@
|
||||
"anomaly/tags-field_type": "~2.4.0",
|
||||
"anomaly/slug-field_type": "~2.1.0",
|
||||
"anomaly/text-field_type": "~2.2.0",
|
||||
"anomaly/file-field_type": "2.2.32",
|
||||
"anomaly/file-field_type": "~2.2.0",
|
||||
"anomaly/url-field_type": "~2.2.0",
|
||||
"anomaly/configuration-module": "~2.1.0",
|
||||
"anomaly/preferences-module": "~2.2.0",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user