[ckan-changes] [ckan/ckan] 886696: [#3120] Move _get_page_number to helpers

GitHub noreply at github.com
Thu Jul 14 14:27:41 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/ckan/ckan
  Commit: 8866961fe236ecdd8b2ed6eaf7510b6bd6f3daf3
      https://github.com/ckan/ckan/commit/8866961fe236ecdd8b2ed6eaf7510b6bd6f3daf3
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-06-17 (Fri, 17 Jun 2016)

  Changed paths:
    M ckan/controllers/feed.py
    M ckan/controllers/group.py
    M ckan/controllers/package.py
    M ckan/controllers/revision.py
    M ckan/controllers/tag.py
    M ckan/controllers/user.py
    M ckan/lib/base.py
    M ckan/lib/helpers.py

  Log Message:
  -----------
  [#3120] Move _get_page_number to helpers


  Commit: 0d9f680fbdaa2abfc758b974d4c30ea67299ed55
      https://github.com/ckan/ckan/commit/0d9f680fbdaa2abfc758b974d4c30ea67299ed55
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-06-17 (Fri, 17 Jun 2016)

  Changed paths:
    M ckan/lib/base.py

  Log Message:
  -----------
  [#3120] Remove module var PAGINATE_ITEMS_PER_PAGE

The PAGINATE_ITEMS_PER_PAGE variable was used in previous versions of
the BaseController, but the related code has since been removed.


  Commit: 811d8889bf6a49d5eb2f1a833fa26a0d45eec4f2
      https://github.com/ckan/ckan/commit/811d8889bf6a49d5eb2f1a833fa26a0d45eec4f2
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-06-17 (Fri, 17 Jun 2016)

  Changed paths:
    M ckan/lib/base.py

  Log Message:
  -----------
  [#3120] Remove module var ALLOWED_FIELDSET_PARAMS.

ALLOWED_FIELDSET_PARAMS was used in the BaseController, but the method
that used it has since been removed.


  Commit: 5ce8284c1f127f1f8b4279bbc96a2422b13bef6a
      https://github.com/ckan/ckan/commit/5ce8284c1f127f1f8b4279bbc96a2422b13bef6a
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-06-17 (Fri, 17 Jun 2016)

  Changed paths:
    M ckan/lib/helpers.py
    M ckan/tests/controllers/test_feed.py

  Log Message:
  -----------
  [#3120] Change working of abort message.

'key' can be defined in the call, so may not always be 'page'.


  Commit: a476eb2186c212417ba3f2281ec7c2856557ae1b
      https://github.com/ckan/ckan/commit/a476eb2186c212417ba3f2281ec7c2856557ae1b
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-07-14 (Thu, 14 Jul 2016)

  Changed paths:
    M ckan/lib/helpers.py
    M ckan/tests/controllers/test_feed.py

  Log Message:
  -----------
  [#3120] Format abort message with key


  Commit: ea21f16d9b710b3466e66476e17cd74119d1ca56
      https://github.com/ckan/ckan/commit/ea21f16d9b710b3466e66476e17cd74119d1ca56
  Author: Adrià Mercader <amercadero at gmail.com>
  Date:   2016-07-14 (Thu, 14 Jul 2016)

  Changed paths:
    M ckan/controllers/feed.py
    M ckan/controllers/group.py
    M ckan/controllers/package.py
    M ckan/controllers/revision.py
    M ckan/controllers/tag.py
    M ckan/controllers/user.py
    M ckan/lib/base.py
    M ckan/lib/helpers.py
    M ckan/tests/controllers/test_feed.py

  Log Message:
  -----------
  Merge pull request #3120 from ckan/3120-get-page-number

Tidy-up BaseController pagination code


Compare: https://github.com/ckan/ckan/compare/875aff8c3773...ea21f16d9b71


More information about the ckan-changes mailing list