Ver Fonte

Update Search page

Visman há 3 anos atrás
pai
commit
84bc6355c8
1 ficheiros alterados com 8 adições e 7 exclusões
  1. 8 7
      app/Models/Pages/Search.php

+ 8 - 7
app/Models/Pages/Search.php

@@ -137,13 +137,14 @@ class Search extends Page
             $this->fIswev = ['i', 'The search may be case sensitive'];
             $this->fIswev = ['i', 'The search may be case sensitive'];
         }
         }
 
 
-        $this->fIndex    = 'search';
-        $this->nameTpl   = 'search';
-        $this->onlinePos = 'search';
-        $this->canonical = $this->c->Router->link('Search');
-        $this->robots    = 'noindex';
-        $this->form      = $advanced ? $this->formSearchAdvanced($v) : $this->formSearch($v);
-        $this->crumbs    = $this->crumbs();
+        $this->fIndex       = 'search';
+        $this->nameTpl      = 'search';
+        $this->onlinePos    = 'search';
+        $this->onlineDetail = null;
+        $this->canonical    = $this->c->Router->link('Search');
+        $this->robots       = 'noindex';
+        $this->form         = $advanced ? $this->formSearchAdvanced($v) : $this->formSearch($v);
+        $this->crumbs       = $this->crumbs();
 
 
         return $this;
         return $this;
     }
     }