diff --git a/app/modules/Front/Home/HomePresenter.php b/app/modules/Front/Home/HomePresenter.php index 7845b7e..52c7385 100644 --- a/app/modules/Front/Home/HomePresenter.php +++ b/app/modules/Front/Home/HomePresenter.php @@ -128,7 +128,7 @@ final class HomePresenter extends BaseFrontPresenter $term = $values->string; $clen = $values->clen; - $result = $this->doSearch('\\App\\TermsFullQuery',$translation,$term,$clen); + $result = $this->doSearch('\\App\\Model\\Database\\Repository\\TermsFullQuery',$translation,$term,$clen); $this->template->result = $result; } @@ -138,7 +138,7 @@ final class HomePresenter extends BaseFrontPresenter $term = $values->string; $translation = $values->translation; - $result = $this->doSearch('\\App\\TermsFullQuery',$translation,$term,null); + $result = $this->doSearch('\\App\\Model\\Database\\Repository\\TermsFullQuery',$translation,$term,null); $this->template->result = $result; } @@ -190,7 +190,7 @@ final class HomePresenter extends BaseFrontPresenter } } if ($term) { - $query = new \App\TermsFullQuery($translation->dictionary,$term,$translation->direction); + $query = new \App\Model\Database\Repository\TermsFullQuery($translation->dictionary,$term,$translation->direction); $result = $this->repoTerms->fetch($query); $this->template->result = $result; @@ -206,7 +206,7 @@ final class HomePresenter extends BaseFrontPresenter $dictionary = $term->dictionary; - $query = new \App\TermsFullQuery($dictionary,$term->string1,1,false); + $query = new \App\Model\Database\Repository\TermsFullQuery($dictionary,$term->string1,1,false); $result = $this->repoTerms->fetch($query); $this->template->result = $result; @@ -224,7 +224,7 @@ final class HomePresenter extends BaseFrontPresenter if ($this->getRequest()->isMethod('GET')) { if ($this->term) { $this['searchForm']['string']->setValue($this->term); - $result = $this->doSearch('\\App\\TermsFullQuery',$this->slugs[$this->slug]->id,$this->term); + $result = $this->doSearch('\\App\\Model\\Database\\Repository\\TermsFullQuery',$this->slugs[$this->slug]->id,$this->term); if ($result) $this->template->result = $result; } } @@ -237,7 +237,7 @@ final class HomePresenter extends BaseFrontPresenter if ($this->getRequest()->isMethod('GET')) { if ($this->term) { $this['searchForm']['string']->setValue($this->term); - $result = $this->doSearch('\\App\\TermsFullQuery',$this->slugs[$this->slug]->id,$this->term); + $result = $this->doSearch('\\App\\Model\\Database\\Repository\\TermsFullQuery',$this->slugs[$this->slug]->id,$this->term); if ($result) $this->template->result = $result; } } @@ -249,7 +249,7 @@ final class HomePresenter extends BaseFrontPresenter { $translation = $this->repoTranslations->find($translation); - $query = new \App\TermsQuickQuery($translation->dictionary,$typedText,$translation->direction); + $query = new \App\Model\Database\Repository\TermsQuickQuery($translation->dictionary,$typedText,$translation->direction); $result = $this->repoTerms->fetch($query); $map = [];