implement separated models

This commit is contained in:
yggverse 2024-08-02 22:00:28 +03:00
parent 47b7344e2e
commit 10534df069
17 changed files with 662 additions and 520 deletions

View file

@ -68,7 +68,7 @@ class Completion
{
$this->suggestion->clear();
foreach ($this->request->navbar->page->container->browser->database->findBookmark(
foreach ($this->request->navbar->page->container->browser->database->bookmark->find(
$this->request->getValue(),
$offset,
$limit
@ -77,7 +77,7 @@ class Completion
$suggestions[] = $history->request;
}
foreach ($this->request->navbar->page->container->browser->database->findHistory(
foreach ($this->request->navbar->page->container->browser->database->history->find(
$this->request->getValue(),
$offset,
$limit