]> _ Git - cubist_cms-front.git/commitdiff
wip #3082
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 30 Sep 2019 15:59:46 +0000 (17:59 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 30 Sep 2019 15:59:46 +0000 (17:59 +0200)
resources/views/head/meta.blade.php

index 7181594b118d1b3c1ff5fa12e82f3674a75433f8..9f280551e53c63f8682c0999a9590d8667807b03 100644 (file)
@@ -1,6 +1,6 @@
 @php
     $search_enabled=!!config('cubist.internal_search',false);
-    $page_short_title=$page->get(['title','name']);
+    $page_short_title=$page->getEntity()->getSearchShortTitle();
 
     if($search_enabled){
         $search_breadcrumbs=CubistMenu::getSearchBreadcrumbs();