Task #1226 - Classement fiches par poste comptable - sous-poste

#1226 : forcer le classement en text en ajoutant "TEXT"
This commit is contained in:
Dany De Bontridder 2015-12-13 23:06:36 +01:00
parent 240211c975
commit ec89ddd62f

View file

@ -43,6 +43,8 @@ echo td($detail);
if ($attr->ad_type=="date") :
// format YYYYMMDD
$sort='sorttable_customkey="'.format_date($attr->av_text, "DD.MM.YYYY", "YYYYMMDD").'"';
elseif ($attr->ad_type=="poste"):
$sort='sorttable_customkey="TEXT'.$attr->av_text.'"';
endif;
echo td($attr->av_text,'style="padding: 0 10 1 10;white-space:nowrap;" '.$sort);
else: