Bug in impress_post we need to see first the D and after the C

This commit is contained in:
Dany De Bontridder 2008-12-20 18:18:07 +00:00
parent ac311adfc8
commit 7d911c5506
2 changed files with 2 additions and 2 deletions

View file

@ -144,7 +144,7 @@ echo '<p class="notice">Nombre de lignes affichées est limité</p>';
// if request search
if ( isset($_GET['search']) || isset($_GET['filter']) ) {
$Res=ExecSql($cn,"select pcm_val,html_quote(pcm_lib) as pcm_lib from tmp_pcmn $condition order by pcm_val::text ".
" limit 70");
" limit 100");
$MaxLine=pg_NumRows($Res);
if ( $MaxLine==0) {

View file

@ -160,7 +160,7 @@ function get_internal() {
join tmp_pcmn on (j_poste=pcm_val)
left join vw_fiche_attr on (j_qcode=quick_code)
where
jr_id=$1";
jr_id=$1 order by j_debit desc";
$res=ExecSqlParam($this->db,$sql,array($this->jr_id));
if ( pg_NumRows ($res) == 0 ) return array();
$all=pg_fetch_all($res);