Does anyone know if it is possible to not auto save the Modified field?

I am doing a drag / drop re-order and this updates each records" order"
field therefor editing the modified timestamp. 
Might confuse the end user since the average person will not think they
actually edited the record yet every record now says Modified 10 mins ago.

function _reOrder($currentModel, $order) {

        $count = -1;//count will start at zero
        foreach ( $order as $k => $v ) {
                $count++;
                $this->$currentModel->id = $v;
                $this->$currentModel->saveField('order', $count);

        }
}

Thanks,

K

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to