Development

Changeset 4687

You must first sign up to be able to contribute.

Changeset 4687

Show
Ignore:
Timestamp:
07/20/07 14:17:13 (1 year ago)
Author:
tristan
Message:

sfPropelActAsNestedSetBehaviorPlugin : fixed scope handling in deleteDescendants() (Piers.Warmers). refs #1796

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfPropelActAsNestedSetBehaviorPlugin/README

    r4686 r4687  
    235235 * ~~fix postgresql compatibiliy~~ 
    236236 * ~~inform users of RDBMS compatibility~~ 
    237  * fix `getDescendants()` performances 
    238  * fix `deleteDescendants() 
    239  * make it possible to delete a root node that has children 
     237 * ~~fix `getDescendants()` performance~~ 
    240238 * fix level retrieval performance issues 
    241239 
     
    255253 * get rid of mysql dependency : rewrite queries "criteria-like" or implement adapter. 
    256254 * add a method to copy a whole tree to another scope 
     255 * make it possible to delete a root node that has children 
     256  
     257==== Bugfixes ==== 
     258 
     259 *  complete rewrite of `deleteDescendants() 
    257260 
    258261== Changelog == 
     
    271274 * fixed `getDescendants()` performances (Jon.Collins) 
    272275 * added `getReversedDescendants()``method (Jon.Collins) 
     276 * fixed scope handling in `deleteDescendants()` (Piers.Warmers) 
    273277 
    274278=== 2007-05-24 | 0.9.0 === 
  • plugins/sfPropelActAsNestedSetBehaviorPlugin/lib/sfPropelActAsNestedSetBehavior.class.php

    r4686 r4687  
    918918 
    919919    $c->add($c1); 
     920    $c->add(self::getColumnConstant($stub_name, 'scope'), $node->getScopeIdValue()); 
    920921    $c->addDescendingOrderByColumn(self::getColumnConstant($stub_name, 'right')); 
    921922