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 help_documents.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
|
||||
|
||||
@ -251,30 +250,30 @@ class ComponentbuilderModelHelp_documents extends JModelList
|
||||
}
|
||||
else
|
||||
{
|
||||
$search = $db->quote('%' . $db->escape($search, true) . '%');
|
||||
$query->where('(a.title LIKE '.$search.' OR a.type LIKE '.$search.' OR a.location LIKE '.$search.' OR a.admin_view LIKE '.$search.' OR a.site_view LIKE '.$search.')');
|
||||
$search = $db->quote('%' . $db->escape($search) . '%');
|
||||
$query->where('(a.title LIKE '.$search.' OR a.type LIKE '.$search.' OR a.location LIKE '.$search.' OR a.admin_view LIKE '.$search.' OR g. LIKE '.$search.' OR a.site_view LIKE '.$search.' OR h. LIKE '.$search.')');
|
||||
}
|
||||
}
|
||||
|
||||
// Filter by Type.
|
||||
if ($type = $this->getState('filter.type'))
|
||||
{
|
||||
$query->where('a.type = ' . $db->quote($db->escape($type, true)));
|
||||
$query->where('a.type = ' . $db->quote($db->escape($type)));
|
||||
}
|
||||
// Filter by Location.
|
||||
if ($location = $this->getState('filter.location'))
|
||||
{
|
||||
$query->where('a.location = ' . $db->quote($db->escape($location, true)));
|
||||
$query->where('a.location = ' . $db->quote($db->escape($location)));
|
||||
}
|
||||
// Filter by Admin_view.
|
||||
// Filter by admin_view.
|
||||
if ($admin_view = $this->getState('filter.admin_view'))
|
||||
{
|
||||
$query->where('a.admin_view = ' . $db->quote($db->escape($admin_view, true)));
|
||||
$query->where('a.admin_view = ' . $db->quote($db->escape($admin_view)));
|
||||
}
|
||||
// Filter by Site_view.
|
||||
// Filter by site_view.
|
||||
if ($site_view = $this->getState('filter.site_view'))
|
||||
{
|
||||
$query->where('a.site_view = ' . $db->quote($db->escape($site_view, true)));
|
||||
$query->where('a.site_view = ' . $db->quote($db->escape($site_view)));
|
||||
}
|
||||
|
||||
// Add the list ordering clause.
|
||||
|
Reference in New Issue
Block a user