Se modifica la select de lista de ofertas para hacer join con pedido y usarios y sacar las descripciones y así poder ordenar por solicitud y candidato en dicha lista de ofertas

git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_Intranet/trunk@145 e2b1556b-49f8-d141-9351-52d6861a72d9
This commit is contained in:
roberto 2012-05-04 09:34:46 +00:00
parent cd1e1edf5c
commit fb1bd35a4e
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ LEFT JOIN pedidos on pedidos.oid = candidato_pedido.pedido";
$bd = new BD();
$resultado = $bd->execQuery($consulta);
//echo $consulta;
// Procesamos las ofertas.
if (mysql_num_rows($resultado) == 0) {
$this->ofertas = array();

View File

@ -25,7 +25,7 @@ $modo = (!empty($_GET['modo'])) ? $_GET["modo"] : "";
// sacado de http://patrickallaert.blogspot.com/2007/09/building-dynamic-sql-queries-elegant.html
$cond = array();
if ($tipoOfertas != "") {
$cond[] = "estado = '$tipoOfertas'";
$cond[] = "candidato_pedido.estado = '$tipoOfertas'";
}
$orden = array();