change in search : order by date asc
This commit is contained in:
parent
d5f5196ff5
commit
4a0ddb584b
2 changed files with 2 additions and 2 deletions
|
|
@ -131,7 +131,7 @@ if ( isset ($_POST["search"]) ) {
|
|||
j_montant,j_poste,j_debit,j_tech_per,jr_id,jr_comment,j_grpt,pcm_lib,jr_internal from jrnx inner join
|
||||
jrn on jr_grpt_id=j_grpt inner join tmp_pcmn on j_poste=pcm_val ".
|
||||
" inner join user_sec_jrn on uj_jrn_id=j_jrn_def".
|
||||
$condition." order by jr_id,j_debit desc");
|
||||
$condition." order by jr_date,jr_id,j_debit desc");
|
||||
|
||||
$MaxLine=pg_NumRows($Res);
|
||||
if ( $MaxLine==0) {
|
||||
|
|
|
|||
|
|
@ -246,7 +246,7 @@ function ListJrn($p_cn,$p_jrn,$p_where="",$p_array=null)
|
|||
join jrn_def on jrn_def_id=jr_def_id
|
||||
join parm_periode on p_id=jr_tech_per
|
||||
$p_where
|
||||
order by jr_date_order desc";
|
||||
order by jr_date_order asc";
|
||||
}
|
||||
if ( $p_array != null ) {
|
||||
// Construction Query
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue