search function on combo with concat fields not working. Also, is there a way to use multi column combo in scheduler?
This is my code
<?php
require_once('../../common/connector/combo_connector.php');
include ('../../common/config_webdoctor.php');
$combo = new ComboConnector($res, $dbtype);
$combo->event->attach("beforeFilter", "by_id");
function by_id($filter) {
if (isset($_GET['id']))
$filter->add("patient_id", $_GET['id'], '=');
}
$combo->dynamic_loading(3);
$combo->render_sql("SELECT patient_id ,CONCAT(first_name,' ',last_name) as label from patient","patient_id","label")
?>