[ckan-changes] [ckan/ckan] fa8b0c: [#1725] Filters received shouldn't be modified

GitHub noreply at github.com
Fri May 23 20:49:38 UTC 2014


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

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

  Log Message:
  -----------
  [#1725] Filters received shouldn't be modified

This means that if the user sends us:

    'filters': { 'age_between': [20, 30] }

We should return that unmodified in the query result, even though internally
that might be translated to something else or removed.


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

  Changed paths:
    M ckanext/datastore/tests/test_delete.py
    M ckanext/datastore/tests/test_search.py

  Log Message:
  -----------
  [#1725] Guarantee that tests fail for the correct reason


  Commit: 3fed29cbaa3f4045cca899ecd006459f8dc6d295
      https://github.com/ckan/ckan/commit/3fed29cbaa3f4045cca899ecd006459f8dc6d295
  Author: Vitor Baptista <vitor at vitorbaptista.com>
  Date:   2014-05-23 (Fri, 23 May 2014)

  Changed paths:
    M ckanext/datastore/tests/test_search.py

  Log Message:
  -----------
  [#1725] Add test to guarantee that every field in datastore_search is valid


Compare: https://github.com/ckan/ckan/compare/f70476cace26...3fed29cbaa3f


More information about the ckan-changes mailing list