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()
|
protected function getListQuery()
|
||||||
{
|
{
|
||||||
$db = $this->getDatabase();
|
$db = $this->getDatabase();
|
||||||
$query = $db->getQuery(true);
|
$query = $db->createQuery();
|
||||||
|
|
||||||
|
|
||||||
// $query->select('*')
|
// $query->select('*')
|
||||||
|
@ -56,7 +56,7 @@ class PackagesModel extends ListModel
|
|||||||
protected function getListQuery()
|
protected function getListQuery()
|
||||||
{
|
{
|
||||||
$db = $this->getDatabase();
|
$db = $this->getDatabase();
|
||||||
$query = $db->getQuery(true);
|
$query = $db->createQuery();
|
||||||
|
|
||||||
|
|
||||||
// $query->select('*')
|
// $query->select('*')
|
||||||
|
@ -54,7 +54,7 @@ class PartsModel extends ListModel
|
|||||||
protected function getListQuery()
|
protected function getListQuery()
|
||||||
{
|
{
|
||||||
$db = $this->getDatabase();
|
$db = $this->getDatabase();
|
||||||
$query = $db->getQuery(true);
|
$query = $db->createQuery();
|
||||||
|
|
||||||
|
|
||||||
// $query->select('*')
|
// $query->select('*')
|
||||||
|
@ -54,7 +54,7 @@ class StocksModel extends ListModel
|
|||||||
protected function getListQuery()
|
protected function getListQuery()
|
||||||
{
|
{
|
||||||
$db = $this->getDatabase();
|
$db = $this->getDatabase();
|
||||||
$query = $db->getQuery(true);
|
$query = $db->createQuery();
|
||||||
|
|
||||||
|
|
||||||
// $query->select('*')
|
// $query->select('*')
|
||||||
|
Loading…
Reference in New Issue
Block a user