Mass action in allMode with tag filtering modify all records (VT 7.0.0+)
This problem raises on {tag-filtering in allMode}.
All mass-action(s) with tag-filtering and allMode activated acts on all records: records filtered by built-in view (list named 'All').
Better with an example:
- I have 1000 records (in some module) and 300 records are tagged with 'mytag' tag
- I need to remove all records with 'mytag' tag
- in ListView I click on 'mytag' tag: I see all tagged record, that's OK
- click on top-left checkbox (Select all records in this page)
- now click on 'Select All <moduleName> (300)' on window top-center: I wanna remove all tagged records
- click on mass delete: all module records are deleted. Not only tagged records, but all records
- restoring all (just deleted) records from Recycle Bin removes all tags from records: tags are no more available for all records (I think this is not logic, maybe)
To fix the problem it's needed to modify all javascript mass-action functions and relative php mass-action function called via Ajax The modify is wide and it must take into account all mass-action types: both for javascript functions and PHP functions, both for VTiger module and, maybe, for built-in modules that overwrite js-class function and PHP-class function
fast workaround: disable/remove allMode link on top of window when tag is clicked in list view