From f576e349a62778432c565b8d55bccbba0e7ab897 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Wed, 25 Nov 2020 16:57:08 +0100 Subject: [PATCH] ArrayUnique: new PropertyModifier fixes #2229 --- doc/82-Changelog.md | 1 + .../PropertyModifierArrayUnique.php | 37 +++++++++++++++++++ register-hooks.php | 2 + 3 files changed, 40 insertions(+) create mode 100644 library/Director/PropertyModifier/PropertyModifierArrayUnique.php diff --git a/doc/82-Changelog.md b/doc/82-Changelog.md index b0ad95d1..50275909 100644 --- a/doc/82-Changelog.md +++ b/doc/82-Changelog.md @@ -43,6 +43,7 @@ next (will be 1.8.0) * FEATURE: Property Modifier: negate boolean (#2227) * FEATURE: Property Modifier Reject/Select: improve usability (#2228) * FEATURE: Property Modifier: clone rows for every entry of an Array (#2192) +* FEATURE: Property Modifier: unique array values (#2229) * FEATURE: Import Sources now allows downloading previewed data as JSON (#2096) * FEATURE: REST API Import now allows custom headers (#2132) * FEATURE: REST API Import can now extract nested properties (#2132) diff --git a/library/Director/PropertyModifier/PropertyModifierArrayUnique.php b/library/Director/PropertyModifier/PropertyModifierArrayUnique.php new file mode 100644 index 00000000..e3446f9d --- /dev/null +++ b/library/Director/PropertyModifier/PropertyModifierArrayUnique.php @@ -0,0 +1,37 @@ +