Ignore:
Timestamp:
2014/05/15 12:03:00 (10 years ago)
Author:
m_uehara
Message:

#2547 (商品一覧の「新着順」「価格順」をクリックすると、ページングが解除されてしまう)
修正内容をマージいたします

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13_2/data/class/pages/products/LC_Page_Products_List.php

    r23378 r23420  
    240240                $where = 'T2.product_id = alldtl.product_id'; 
    241241                $objQuery->setOrder('T3.rank DESC, T2.rank DESC'); 
    242                 $objQuery->setLimit(1); 
    243                 $sub_sql = $objQuery->getSqlWithLimitOffset($col, $from, $where); 
     242                $sub_sql = $objQuery->getSql($col, $from, $where); 
     243                $sub_sql = $objQuery->dbFactory->addLimitOffset($sub_sql, 1); 
    244244 
    245245                $objQuery->setOrder("($sub_sql) DESC ,product_id DESC"); 
Note: See TracChangeset for help on using the changeset viewer.