You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NestedSetsBehavior will set the lft, rgt, and depth attributes on the record when it’s a new record, but it won’t update those attributes after performing an operation on an existing record.
Example:
$a->prependTo($b);
echo$a->lft;
I would expect that to output the new lft attribute value, but it will output the old one.
The text was updated successfully, but these errors were encountered:
NestedSetsBehavior will set the
lft
,rgt
, anddepth
attributes on the record when it’s a new record, but it won’t update those attributes after performing an operation on an existing record.Example:
I would expect that to output the new
lft
attribute value, but it will output the old one.The text was updated successfully, but these errors were encountered: