OSDN Git Service

ProfileSelect/TableのvalidationErrorチェック差し戻し
authorCake <cake_67@users.sourceforge.jp>
Thu, 2 Dec 2010 15:19:18 +0000 (00:19 +0900)
committerCake <cake_67@users.sourceforge.jp>
Thu, 2 Dec 2010 15:19:18 +0000 (00:19 +0900)
app/models/profile_select.php
app/models/profile_table.php

index 040f450..15cee54 100644 (file)
@@ -31,7 +31,7 @@ class ProfileSelect extends AppModel {
                        ),
                ),
                'sort_order' => array(
-                       'orderNumeric' => array(
+                       'numeric' => array(
                                'rule' => array('numeric'),
                                'allowEmpty' => true,
                        ),
index 52d6a19..133c73e 100644 (file)
@@ -59,7 +59,7 @@ class ProfileTable extends AppModel {
                ),
                'sort_order' => array(
                        'numeric' => array(
-                               'rule' => array('orderNumeric'),
+                               'rule' => array('numeric'),
                                'allowEmpty' => true,
                        ),
                ),