View more context

 

rista

but ManyManyList doesn't contains groupBy method

Mo

Maybe get $obj->SomeManyManyRelation()->col('ID'); and then use SQLQuery to get a custom data set?

Jay

Why does SS do this? When I unpublish a item it removes the File that was attached to the item

Joe

@Jay probably part of the Ownership API - similar to how when you publish the item, it’ll also publish the File attached to it.

andante

does it remove the file, or just unpublish the file?

Joe

is the item set up to cascade deletes to the file that’s attached?