Cleaned up code.
This commit is contained in:
parent
4c1d719bf0
commit
e5085f0df3
3 changed files with 39 additions and 23 deletions
|
@ -57,7 +57,9 @@ class Application_Model_Datatables
|
|||
public static function findEntries($con, $displayColumns, $fromTable,
|
||||
$data, $dataProp = "aaData")
|
||||
{
|
||||
$librarySetting = Application_Model_Preference::getCurrentLibraryTableColumnMap();
|
||||
//$librarySetting = Application_Model_Preference::getCurrentLibraryTableColumnMap();
|
||||
$librarySetting =
|
||||
Application_Model_Preference::getCurrentLibraryTableColumnMap();
|
||||
//$displayColumns[] = 'owner';
|
||||
|
||||
// map that maps original column position to db name
|
||||
|
@ -95,9 +97,8 @@ class Application_Model_Datatables
|
|||
}
|
||||
|
||||
$where = array();
|
||||
/* Holds the parameters for binding after the
|
||||
* statement has been prepared
|
||||
*/
|
||||
/* Holds the parameters for binding after the statement has been
|
||||
prepared */
|
||||
$params = array();
|
||||
|
||||
$advancedWhere = self::buildWhereClauseForAdvancedSearch($dbname2searchTerm);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue