FIX deprecated function setQuery(true), using createQuery() instead.
This commit is contained in:
parent
0532b525b5
commit
42870bdca1
@ -52,7 +52,7 @@ class ManufacturersModel extends ListModel
|
||||
protected function getListQuery()
|
||||
{
|
||||
$db = $this->getDatabase();
|
||||
$query = $db->getQuery(true);
|
||||
$query = $db->createQuery();
|
||||
|
||||
|
||||
// $query->select('*')
|
||||
|
@ -56,7 +56,7 @@ class PackagesModel extends ListModel
|
||||
protected function getListQuery()
|
||||
{
|
||||
$db = $this->getDatabase();
|
||||
$query = $db->getQuery(true);
|
||||
$query = $db->createQuery();
|
||||
|
||||
|
||||
// $query->select('*')
|
||||
|
@ -54,7 +54,7 @@ class PartsModel extends ListModel
|
||||
protected function getListQuery()
|
||||
{
|
||||
$db = $this->getDatabase();
|
||||
$query = $db->getQuery(true);
|
||||
$query = $db->createQuery();
|
||||
|
||||
|
||||
// $query->select('*')
|
||||
|
@ -54,7 +54,7 @@ class StocksModel extends ListModel
|
||||
protected function getListQuery()
|
||||
{
|
||||
$db = $this->getDatabase();
|
||||
$query = $db->getQuery(true);
|
||||
$query = $db->createQuery();
|
||||
|
||||
|
||||
// $query->select('*')
|
||||
|
Loading…
Reference in New Issue
Block a user