{"action":"closed","issue":{"url":"https://api.github.com/repos/directus/api/issues/515","repository_url":"https://api.github.com/repos/directus/api","labels_url":"https://api.github.com/repos/directus/api/issues/515/labels{/name}","comments_url":"https://api.github.com/repos/directus/api/issues/515/comments","events_url":"https://api.github.com/repos/directus/api/issues/515/events","html_url":"https://github.com/directus/api/issues/515","id":374125559,"node_id":"MDU6SXNzdWUzNzQxMjU1NTk=","number":515,"title":"skip_activity_log not working for /rows/bulk","user":{"login":"benhaynes","id":522079,"node_id":"MDQ6VXNlcjUyMjA3OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/522079?v=4","gravatar_id":"","url":"https://api.github.com/users/benhaynes","html_url":"https://github.com/benhaynes","followers_url":"https://api.github.com/users/benhaynes/followers","following_url":"https://api.github.com/users/benhaynes/following{/other_user}","gists_url":"https://api.github.com/users/benhaynes/gists{/gist_id}","starred_url":"https://api.github.com/users/benhaynes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benhaynes/subscriptions","organizations_url":"https://api.github.com/users/benhaynes/orgs","repos_url":"https://api.github.com/users/benhaynes/repos","events_url":"https://api.github.com/users/benhaynes/events{/privacy}","received_events_url":"https://api.github.com/users/benhaynes/received_events","type":"User","site_admin":false},"labels":[{"id":838688385,"node_id":"MDU6TGFiZWw4Mzg2ODgzODU=","url":"https://api.github.com/repos/directus/api/labels/bug","name":"bug","color":"c62828","default":true},{"id":1075790554,"node_id":"MDU6TGFiZWwxMDc1NzkwNTU0","url":"https://api.github.com/repos/directus/api/labels/hacktoberfest","name":"hacktoberfest","color":"FFE0B2","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-25T20:46:04Z","updated_at":"2018-10-26T20:53:19Z","closed_at":"2018-10-26T20:53:19Z","author_association":"CONTRIBUTOR","body":"From directus created by [bensteers](https://github.com/bensteers) : directus/directus#2175  \n\n`?skip_activity_log=1` is not disabling activity logging for bulk row uploads.\r\n\r\n## Version Info\r\n- Directus version and branch (Or commit hash): 6.4.9\r\n- PHP version: 7.1.17\r\n- MySQL version: Ver 14.14 Distrib 5.5.60, for debian-linux-gnu (x86_64) using readline 6.3\r\n- OS name and version: Debian GNU/Linux 8 (jessie)\r\n\r\nI suspect that this is the needed update:\r\n```php\r\n// directus/api/core/Directus/Database/TableGateway/RelationalTableGateway.php, line 2018\r\n...\r\n// change\r\n    public function updateCollection($entries)\r\n    {\r\n        $entries = ArrayUtils::isNumericKeys($entries) ? $entries : [$entries];\r\n        foreach ($entries as $entry) {\r\n            $entry = $this->updateRecord($entry);\r\n            $entry->save();\r\n        }\r\n    }\r\n// to\r\n    public function updateCollection($entries)\r\n    {\r\n        $entries = ArrayUtils::isNumericKeys($entries) ? $entries : [$entries];\r\n        foreach ($entries as $entry) {\r\n            $entry = $this->updateRecord($entry, $this->getActivityMode());\r\n            $entry->save();\r\n        }\r\n    }\r\n...\r\n```\r\nI just haven't had a minute to test before submitting a pull request. \r\n"}}
{"actor":{"display_login":"WellingGuzman"}}