[ckan-changes] [ckan/ckan] ddc83d: [#3199] Update revisions on bulk operations

GitHub noreply at github.com
Tue Aug 9 10:47:10 UTC 2016


  Branch: refs/heads/3199-bulk-operations-revisions
  Home:   https://github.com/ckan/ckan
  Commit: ddc83d4e8945be92775fc83e6aa1a0e81a8190fd
      https://github.com/ckan/ckan/commit/ddc83d4e8945be92775fc83e6aa1a0e81a8190fd
  Author: amercader <amercadero at gmail.com>
  Date:   2016-08-09 (Tue, 09 Aug 2016)

  Changed paths:
    M ckan/logic/action/update.py
    M ckan/tests/logic/action/test_update.py

  Log Message:
  -----------
  [#3199] Update revisions on bulk operations

`bulk_update_private`, `bulk_update_public` and ``bulk_update_delete`
changed the `package` table and the search index but not the revision
 table, which caused the changes to not be reflected everywhere.

This fixes the model query and adds a bunch of tests.




More information about the ckan-changes mailing list