[ckan-changes] [ckan/ckan] d76d4a: Catch invalid sort param exception

GitHub noreply at github.com
Fri Jun 23 10:03:25 UTC 2017


  Branch: refs/heads/3629-exception-group-sort-param
  Home:   https://github.com/ckan/ckan
  Commit: d76d4a917aaf70d7c61fbe2e28e7d33c43201876
      https://github.com/ckan/ckan/commit/d76d4a917aaf70d7c61fbe2e28e7d33c43201876
  Author: amercader <amercadero at gmail.com>
  Date:   2017-06-23 (Fri, 23 Jun 2017)

  Changed paths:
    M ckan/controllers/group.py
    M ckan/tests/controllers/test_group.py

  Log Message:
  -----------
  Catch invalid sort param exception

Providing a sort param like `sort=title xx desc` or `sort=title xx`
causes an exception due to an uncaught `ValidationError`




More information about the ckan-changes mailing list