Venues public ready for Test
This commit is contained in:
parent
b76ec01ae5
commit
15041e0357
|
|
@ -25,16 +25,16 @@ class PublicController extends Controller
|
|||
{
|
||||
public function showHomePage(){
|
||||
$cinema = Category::where('view_type','cinema')
|
||||
->categoryLiveEvents(16)
|
||||
// ->categoryLiveEvents(16)
|
||||
->limit(1);
|
||||
|
||||
$cartoon = Category::where('view_type','exhibition')//todo change to cartoon multik
|
||||
->categoryLiveEvents(16)
|
||||
// ->categoryLiveEvents(16)
|
||||
->limit(1)
|
||||
->union($cinema);
|
||||
|
||||
$musical = Category::where('view_type','concert')
|
||||
->categoryLiveEvents(8)
|
||||
// ->categoryLiveEvents(8)
|
||||
->limit(1)
|
||||
->union($cartoon);
|
||||
$all = $musical->get();
|
||||
|
|
|
|||
Loading…
Reference in New Issue