[ckan-changes] [ckan/ckan] 08e8ee: [#1725] Forgot to import ckan.plugins

GitHub noreply at github.com
Thu May 22 21:52:12 UTC 2014


  Branch: refs/heads/1725-extend-datastore
  Home:   https://github.com/ckan/ckan
  Commit: 08e8ee114b724c5a87ada63e46417662ad78f77c
      https://github.com/ckan/ckan/commit/08e8ee114b724c5a87ada63e46417662ad78f77c
  Author: Vitor Baptista <vitor at vitorbaptista.com>
  Date:   2014-05-22 (Thu, 22 May 2014)

  Changed paths:
    M ckanext/datastore/db.py

  Log Message:
  -----------
  [#1725] Forgot to import ckan.plugins


  Commit: f70476cace26184b41fe5410abdd19180d04ca92
      https://github.com/ckan/ckan/commit/f70476cace26184b41fe5410abdd19180d04ca92
  Author: Vitor Baptista <vitor at vitorbaptista.com>
  Date:   2014-05-22 (Thu, 22 May 2014)

  Changed paths:
    M ckanext/datastore/db.py
    M ckanext/datastore/tests/test_interface.py

  Log Message:
  -----------
  [#1725] Custom filters should be added inside parenthesis

The extensions can get a single filter (e.g. "age_not_between") and create two
WHERE clauses (e.g. "age < %s OR age > %s"). To avoid hard-to-track bugs
related to the operator precedence in Postgres, we add every custom filter
inside parenthesis.


Compare: https://github.com/ckan/ckan/compare/f3aa38783c6b...f70476cace26


More information about the ckan-changes mailing list