Fix: bad sort order into ecm module
This commit is contained in:
parent
154cd1fcf9
commit
57ab24baca
@ -63,6 +63,7 @@ $pageprev = $page - 1;
|
|||||||
$pagenext = $page + 1;
|
$pagenext = $page + 1;
|
||||||
if (! $sortorder) $sortorder="ASC";
|
if (! $sortorder) $sortorder="ASC";
|
||||||
if (! $sortfield) $sortfield="fullname";
|
if (! $sortfield) $sortfield="fullname";
|
||||||
|
if ($module == 'invoice_supplier' && $sortfield == "fullname") $sortfield="level1name";
|
||||||
|
|
||||||
$ecmdir = new EcmDirectory($db);
|
$ecmdir = new EcmDirectory($db);
|
||||||
if ($section)
|
if ($section)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user