Ignore:
Timestamp:
2014/06/11 13:42:24 (12 years ago)
Author:
h_yoshimoto
Message:

#2578 version-2_13_2の内容をdevにmerge
r23408,r23412,r23420

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/api/operations/ItemSearch.php

    r23378 r23542  
    152152                $where = 'T2.product_id = alldtl.product_id'; 
    153153                $objQuery->setOrder('T3.rank DESC, T2.rank DESC'); 
    154                 $objQuery->setLimit(1); 
    155                 $sub_sql = $objQuery->getSqlWithLimitOffset($col, $from, $where); 
     154                $sub_sql = $objQuery->getSql($col, $from, $where); 
     155                $sub_sql = $objQuery->dbFactory->addLimitOffset($sub_sql, 1); 
    156156 
    157157                $objQuery->setOrder("($sub_sql) DESC ,product_id DESC"); 
Note: See TracChangeset for help on using the changeset viewer.