OSDN Git Service

- 顧客検索時に最終購入日で正しく検索出来ない問題を修正
[elecoma/elecoma.git] / app / models / customer_search_form.rb
index 0194d1a..85c855b 100644 (file)
@@ -323,7 +323,7 @@ where
 }\r
 #{\r
   from = condition.last_order_from\r
-  to = condition.last_order_from\r
+  to = condition.last_order_to\r
   unless from.blank? && to.blank?\r
     if !from.blank? && !to.blank?\r
       "and (#{MergeAdapterUtil.convert_time_to_yyyymmdd('last_order_at')} >= '#{from.strftime("%Y%m%d")}'\r