Added lots more demo data on Github to help demonstrate the ease of use. Adding feature to insert custom scripting during install. Adding easy issue tracking, and member notice board. Many bug fixes, to the compiler and general improvements.
This commit is contained in:
@ -10,13 +10,12 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.1.21
|
||||
@build 11th September, 2016
|
||||
@version 2.2.0
|
||||
@build 23rd October, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage dynamic_gets.php
|
||||
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder>
|
||||
@my wife Roline van der Merwe <http://www.vdm.io/>
|
||||
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
@ -240,7 +239,7 @@ class ComponentbuilderModelDynamic_gets extends JModelList
|
||||
}
|
||||
else
|
||||
{
|
||||
$search = $db->quote('%' . $db->escape($search, true) . '%');
|
||||
$search = $db->quote('%' . $db->escape($search) . '%');
|
||||
$query->where('(a.name LIKE '.$search.' OR a.main_source LIKE '.$search.' OR a.gettype LIKE '.$search.')');
|
||||
}
|
||||
}
|
||||
@ -248,12 +247,12 @@ class ComponentbuilderModelDynamic_gets extends JModelList
|
||||
// Filter by Main_source.
|
||||
if ($main_source = $this->getState('filter.main_source'))
|
||||
{
|
||||
$query->where('a.main_source = ' . $db->quote($db->escape($main_source, true)));
|
||||
$query->where('a.main_source = ' . $db->quote($db->escape($main_source)));
|
||||
}
|
||||
// Filter by Gettype.
|
||||
if ($gettype = $this->getState('filter.gettype'))
|
||||
{
|
||||
$query->where('a.gettype = ' . $db->quote($db->escape($gettype, true)));
|
||||
$query->where('a.gettype = ' . $db->quote($db->escape($gettype)));
|
||||
}
|
||||
|
||||
// Add the list ordering clause.
|
||||
|
Reference in New Issue
Block a user