|
@@ -229,7 +229,7 @@ class Api
|
|
|
*
|
|
|
* @return mixed
|
|
|
*/
|
|
|
- public function getList($ids, $value, $order = 'all')
|
|
|
+ public function getList($ids, $value, $order = 'list')
|
|
|
{
|
|
|
$result = array();
|
|
|
if ($ids) {
|
|
@@ -326,6 +326,9 @@ class Api
|
|
|
|
|
|
private function attrSort(&$attr, $reorder = 'list_reorder')
|
|
|
{
|
|
|
+ if ($reorder == 'list') {
|
|
|
+ $reorder = 'list_reorder';
|
|
|
+ }
|
|
|
$order = Dever::config('base')->attrOrder;
|
|
|
if ($order && $order != $reorder) {
|
|
|
$reorder = $order;
|