Venues public ready for Test
This commit is contained in:
parent
6268543cd6
commit
ef21f6ae1f
|
|
@ -24,20 +24,20 @@ use Illuminate\Support\Facades\DB;
|
|||
class PublicController extends Controller
|
||||
{
|
||||
public function showHomePage(){
|
||||
$cinema = Category::where('view_type','cinema')
|
||||
->categoryLiveEvents(16)
|
||||
->take(1);
|
||||
// $cinema = Category::where('view_type','cinema')
|
||||
// ->categoryLiveEvents(16)
|
||||
// ->take(1);
|
||||
|
||||
$cartoon = Category::where('view_type','exhibition')//todo change to cartoon multik
|
||||
->categoryLiveEvents(16)
|
||||
->take(1)
|
||||
->union($cinema);
|
||||
->take(1);
|
||||
// ->union($cinema);
|
||||
|
||||
// $musical = Category::where('view_type','concert')
|
||||
//// ->categoryLiveEvents(8)
|
||||
// ->take(1)
|
||||
// ->union($cartoon);
|
||||
$all = $cartoon->get();
|
||||
$musical = Category::where('view_type','concert')
|
||||
// ->categoryLiveEvents(8)
|
||||
->take(1)
|
||||
->union($cartoon);
|
||||
$all = $musical->get();
|
||||
|
||||
dd($all);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue