From: avl Date: Wed, 25 Mar 2009 11:02:09 +0000 (+0200) Subject: MORE, more reorder customizable X-Git-Tag: 0.6~152 X-Git-Url: https://git.andy128k.dev/?a=commitdiff_plain;h=acb6e3f191f028169895064df0e3b79a822c46ac;p=ipf-legacy-orm.git MORE, more reorder customizable --- diff --git a/ipf/orm/record.php b/ipf/orm/record.php index 6333a34..d389b23 100644 --- a/ipf/orm/record.php +++ b/ipf/orm/record.php @@ -1296,7 +1296,7 @@ abstract class IPF_ORM_Record extends IPF_ORM_Record_Abstract implements Countab return null; } - public function _reorder($ids, $ord_field, $drop_id){ + public function _reorder($ids, $ord_field, $drop_id, $prev_ids){ $ord = 1; foreach($ids as $id){ $item = $this->getTable()->find($id); @@ -1305,5 +1305,4 @@ abstract class IPF_ORM_Record extends IPF_ORM_Record_Abstract implements Countab $ord++; } } - } \ No newline at end of file