When the Add values to multi-value fields option is selected, duplicates can be added. For example, a "tags" field can end up with the same tag added several times. I think the expectation would be that items will be added only if they are not yet present on the field.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | views_bulk_edit-prevent_adding_duplicates-3086337-02.patch | 955 bytes | nadavoid |
Issue fork views_bulk_edit-3086337
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
nadavoid commentedAttached is a patch that prevents adding values to multi-value fields if the value is already present.
One additional note about a scenario in which this is helpful: If you're selecting a set of content, and you want to make sure they all have 3 specific tags.
Comment #3
douggreen commentedSee #3120236: Make options per field for an alternative solution.
Comment #6
zero2one commentedThe solution in the merge request does avoid duplicates.
Comment #8
graber commented