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:
parent
cd1e1edf5c
commit
fb1bd35a4e
@ -60,7 +60,7 @@ LEFT JOIN pedidos on pedidos.oid = candidato_pedido.pedido";
|
|||||||
|
|
||||||
$bd = new BD();
|
$bd = new BD();
|
||||||
$resultado = $bd->execQuery($consulta);
|
$resultado = $bd->execQuery($consulta);
|
||||||
|
//echo $consulta;
|
||||||
// Procesamos las ofertas.
|
// Procesamos las ofertas.
|
||||||
if (mysql_num_rows($resultado) == 0) {
|
if (mysql_num_rows($resultado) == 0) {
|
||||||
$this->ofertas = array();
|
$this->ofertas = array();
|
||||||
|
|||||||
@ -25,7 +25,7 @@ $modo = (!empty($_GET['modo'])) ? $_GET["modo"] : "";
|
|||||||
// sacado de http://patrickallaert.blogspot.com/2007/09/building-dynamic-sql-queries-elegant.html
|
// sacado de http://patrickallaert.blogspot.com/2007/09/building-dynamic-sql-queries-elegant.html
|
||||||
$cond = array();
|
$cond = array();
|
||||||
if ($tipoOfertas != "") {
|
if ($tipoOfertas != "") {
|
||||||
$cond[] = "estado = '$tipoOfertas'";
|
$cond[] = "candidato_pedido.estado = '$tipoOfertas'";
|
||||||
}
|
}
|
||||||
|
|
||||||
$orden = array();
|
$orden = array();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user