Revision c2796317
Von Bernd Bleßmann vor mehr als 11 Jahren hinzugefügt
SL/CT.pm | ||
---|---|---|
639 | 639 |
my $sortorder; |
640 | 640 |
if ( $join_records ) { |
641 | 641 |
# in UNION case order by hash key, e.g. salesman |
642 |
# the UNION created an implicit select around the result
|
|
642 |
# the UNION created an implicit select around the result |
|
643 | 643 |
$sortorder = $allowed_sort_columns{$form->{sort}} ? $form->{sort} : "name"; |
644 | 644 |
} else { |
645 | 645 |
# in not UNION case order by hash value, e.g. e.name |
... | ... | |
812 | 812 |
} |
813 | 813 |
|
814 | 814 |
$query .= qq| ORDER BY $sortorder|; |
815 |
|
|
815 |
|
|
816 | 816 |
$form->{CT} = selectall_hashref_query($form, $dbh, $query, @values); |
817 | 817 |
|
818 | 818 |
$main::lxdebug->leave_sub(); |
Auch abrufbar als: Unified diff
Kosmetik: Leerzeichen am Zeilenende weg.