Changeset 10293 for temp/trunk/html


Ignore:
Timestamp:
2006/12/06 12:13:12 (20 years ago)
Author:
kaki
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/admin/products/index.php

    r10292 r10293  
    165165                case 'search_product_code': // ¾¦ÉÊ¥³¡¼¥É 
    166166                    $where .= " AND product_id IN (SELECT product_id FROM dtb_products_class WHERE product_code ILIKE ? GROUP BY product_id)"; 
    167                     $view_where .= " AND EXISTS (SELECT product_id FROM dtb_products_class as cls WHERE cls.product_code ILIKE ? AND prd.product_id = cls.product_id GROUP BY cls.product_id )"; 
     167                    $view_where .= " AND EXISTS (SELECT product_id FROM dtb_products_class as cls WHERE cls.product_code ILIKE ? AND dtb_products.product_id = cls.product_id GROUP BY cls.product_id )"; 
    168168                    $arrval[] = "%$val%"; 
    169169                    break; 
Note: See TracChangeset for help on using the changeset viewer.