mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
#2512 Show only related packages while ad posting (maden)
This commit is contained in:
parent
41c500fbdc
commit
181552beda
@ -844,7 +844,7 @@ class AdvsController extends PublicController
|
||||
}
|
||||
event(new CreatedAd($adv));
|
||||
if ($allowPendingAdCreation) {
|
||||
return redirect(route("visiosoft.module.packages::buy_package") . '?ad_id=' . $adv->id);
|
||||
return redirect(route("visiosoft.module.packages::buy_package") . '?ad_id=' . $adv->id . '&category_id=' . $adv->cat1);
|
||||
} else {
|
||||
return redirect(route('advs_preview', [$request->update_id]));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user