Index: /temp/trunk/html/admin/products/index.php
===================================================================
--- /temp/trunk/html/admin/products/index.php	(revision 10254)
+++ /temp/trunk/html/admin/products/index.php	(revision 10255)
@@ -236,15 +236,4 @@
 
 			// ¹Ô¿ô¤Î¼èÆÀ
-			// view¤â¹Ê¹þ¤ß¤ò¤«¤±¤ë(mysqlÍÑ)
-			global $arrViewWhere;
-			$arrWhere = split("[?]", $where);
-			$where_tmp = "";
-			$where_tmp = " WHERE " . $arrWhere[0];
-			for($i = 1; $i < count($arrWhere); $i++){
-				$where_tmp .= sfQuoteSmart($arrval[$i - 1]) . $arrWhere[$i];
-			}
-			$arrViewWhere["&&noncls_where&&"] = $where_tmp;
-
-			
 //			$linemax = $objQuery->count($from, $where, $arrval);
 //			$objPage->tpl_linemax = $linemax;				// ²¿·ï¤¬³ºÅö¤·¤Þ¤·¤¿¡£É½¼¨ÍÑ
@@ -276,4 +265,19 @@
 			// É½¼¨½ç½ø
 			$objQuery->setorder($order);
+			
+			
+			// view¤â¹Ê¹þ¤ß¤ò¤«¤±¤ë(mysqlÍÑ)
+			global $arrViewWhere;
+			$arrWhere = split("[?]", $where);
+			$where_tmp = "";
+			$where_tmp = " WHERE " . $arrWhere[0];
+			for($i = 1; $i < count($arrWhere); $i++){
+				$where_tmp .= sfQuoteSmart($arrval[$i - 1]) . $arrWhere[$i];
+			}
+			$arrViewWhere["&&noncls_where&&"] = $where_tmp;	
+			
+			sfprintr($objQuery->option);
+			sfprintr($objQuery->order);
+			
 			
 			// ¸¡º÷·ë²Ì¤Î¼èÆÀ
