silverstripe-framework/src/ORM
Guy Sartorelli 19bb72e7c7 FIX Correctly remove relations with ManyManyThroughList::removeall
Instead of just setting one side of the relation to null in the through
list, remove the rows entirely.
Remove only the relations which match the filters that have already been
set on the list.
This is consistent with the way ManyManyList works.

Also some small tidy-up (removing an unnecessary line break and an
unused "use" statement)
2022-05-05 11:21:51 +12:00
..
Connect Fix the phpdoc blocks 2020-12-21 22:23:23 +01:00
FieldType Merge branch '4.8' into 4 2021-07-07 14:03:02 +12:00
Filters Fix the phpdoc blocks 2020-12-21 22:23:23 +01:00
Hierarchy MNT Fix minor typos 2021-09-25 00:23:43 +12:00
Queries Fix the phpdoc blocks 2020-12-21 22:23:23 +01:00
RelatedData MNT Double quote yaml string, fix phpcs warnings 2020-11-30 11:37:35 +13:00
Search Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
UniqueKey Unique key for DataObject (#9400) 2020-05-04 09:10:51 +12:00
ArrayLib.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
ArrayList.php Fix the phpdoc blocks 2020-12-21 22:23:23 +01:00
CMSPreviewable.php API Move CMSPreviewable to framework module 2017-03-14 10:22:45 +13:00
DatabaseAdmin.php Merge branch '4.6' into 4.7 2020-11-17 15:46:54 -08:00
DataExtension.php adding use SilverStripe\Security\Member; to make sure linting works 2021-04-01 23:36:36 +13:00
DataList.php RFC Add chunk method to DataList to iterate over large dataset (#8940) 2021-04-14 07:49:44 +12:00
DataObject.php NEW Add extension point to DataObject->hydrate() 2021-08-25 16:07:02 +12:00
DataObjectInterface.php PSR2: Whitespace-only changes 2016-11-29 12:31:16 +13:00
DataObjectSchema.php Use short array syntax across the framework's codebase 2020-05-16 10:34:45 +01:00
DataQuery_SubGroup.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
DataQuery.php Merge branch '4.7' into 4.8 2021-05-31 17:04:54 +12:00
DataQueryManipulator.php FIX: Remove deprecated & non-functional default argument config 2020-09-07 17:24:00 +12:00
DB.php Fix the phpdoc blocks 2020-12-21 22:23:23 +01:00
Filterable.php Fix the phpdoc blocks 2020-12-21 22:23:23 +01:00
GroupedList.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
HasManyList.php Fix the phpdoc blocks 2020-12-21 22:23:23 +01:00
HiddenClass.php PSR2: Whitespace-only changes 2016-11-29 12:31:16 +13:00
Limitable.php Fix the phpdoc blocks 2020-12-21 22:23:23 +01:00
ListDecorator.php DOCS: Fix typos & grammer 2020-04-28 17:50:39 +05:45
ManyManyList.php FIX Correctly remove relations with ManyManyThroughList::removeall 2022-05-05 11:21:51 +12:00
ManyManyThroughList.php FIX Correctly remove relations with ManyManyThroughList::removeall 2022-05-05 11:21:51 +12:00
ManyManyThroughQueryManipulator.php FIX Correctly remove relations with ManyManyThroughList::removeall 2022-05-05 11:21:51 +12:00
Map_Iterator.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
Map.php ENH Replace E_USER_ERROR errors with exceptions 2020-09-24 23:51:21 -07:00
PaginatedList.php Fix the phpdoc blocks 2020-12-21 22:23:23 +01:00
PolymorphicHasManyList.php ENH Replace E_USER_ERROR errors with exceptions 2020-09-24 23:51:21 -07:00
Relation.php BUG Ensure relObject() safely bails on empty objects 2017-11-10 15:27:02 +13:00
RelationList.php NEW Add/remove callbacks on RelationList 2020-09-18 13:33:42 +12:00
Sortable.php Fix the phpdoc blocks 2020-12-21 22:23:23 +01:00
SS_List.php PSR2: Whitespace-only changes 2016-11-29 12:31:16 +13:00
UnexpectedDataException.php NEW: Move code files into src/ folder. 2016-11-01 13:37:24 +13:00
UnsavedRelationList.php Fix the phpdoc blocks 2020-12-21 22:23:23 +01:00
ValidationException.php Ran upgrader for lang files 2017-04-28 14:59:42 +12:00
ValidationResult.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00