답변 2개
adm\shop_admin\itemstocklist.php 파일에서 아래 부분 수정
9줄 $sort2 = in_array($sort2, array('desc', 'asc')) ? $sort2 : 'asc';
29줄 if ($sort1 == "") $sort1 = "it_order";
include\adm\shop_admin\optionstocklist.php 파일에서 아래 부분 수정
9줄 $sort2 = in_array($sort2, array('desc', 'asc')) ? $sort2 : 'asc';
29줄 if ($sort1 == "") $sort1 = "b.it_order";
30줄 if (!in_array($sort1, array('b.it_name', 'a.io_stock_qty', 'a.io_use'))) $sort1 = "b.it_order";
답변에 대한 댓글 2개
adm\shop_admin\itemstocklist.php 파일
if ($sort1 == "") $sort1 = "it_id";
include\adm\shop_admin\optionstocklist.php 파일
if ($sort1 == "") $sort1 = "b.it_id";
if (!in_array($sort1, array('b.it_name', 'a.io_stock_qty', 'a.io_use'))) $sort1 = "b.it_id";
댓글을 작성하려면 로그인이 필요합니다.
adm\shop_admin\itemstocklist.php 파일에서 아래 부분 수정
9줄 $sort2 = in_array($sort2, array('desc', 'asc')) ? $sort2 : 'desc';
29줄 if ($sort1 == "") $sort1 = "it_id";
include\adm\shop_admin\optionstocklist.php 파일에서 아래 부분 수정
9줄 $sort2 = in_array($sort2, array('desc', 'asc')) ? $sort2 : 'desc';
29줄 if ($sort1 == "") $sort1 = "b.it_id";
30줄 if (!in_array($sort1, array('b.it_name', 'a.io_stock_qty', 'a.io_use'))) $sort1 = "b.it_id";
eyekiss 감사합니다. 원하는데로 정렬되고 수정 되었습니다.
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인