In the current version, the agreements were not filtered correctly. The new version does the following:
If the user has been given access to "All Store Views", no filter will be applied.
If there is no store view set at all, no filter will be applied.
If one or multiple store views are selected, the collection will be filtered accordingly. It is important to set the _isStoreFilterWithAdmin flag then. The comment "collection allows only filter by ONE store" is wrong.
In the current version, the agreements were not filtered correctly. The new version does the following:
_isStoreFilterWithAdmin
flag then. The comment "collection allows only filter by ONE store" is wrong.