[ckan-changes] [ckan/ckan] b6d6a2: Make sure package_autocomplete uses LIKE with wild...

GitHub noreply at github.com
Wed Oct 21 16:31:20 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/ckan/ckan
  Commit: b6d6a25d0183b9eb35b598ea9a51c7da2c096401
      https://github.com/ckan/ckan/commit/b6d6a25d0183b9eb35b598ea9a51c7da2c096401
  Author: Stefan Oderbolz <stefan.oderbolz at liip.ch>
  Date:   2015-10-21 (Wed, 21 Oct 2015)

  Changed paths:
    M ckan/logic/action/get.py

  Log Message:
  -----------
  Make sure package_autocomplete uses LIKE with wildcards

The current implementation uses 'q%' to search for packages starting
with a certain search term. This commit changes this to use the
following format: '%q%', thus search for the term anywhere in the title
and name field.


  Commit: 587e20647820f833f01e28ae4309c2adf19fbf17
      https://github.com/ckan/ckan/commit/587e20647820f833f01e28ae4309c2adf19fbf17
  Author: Ross Jones <ross at mailbolt.com>
  Date:   2015-10-21 (Wed, 21 Oct 2015)

  Changed paths:
    M ckan/logic/action/get.py

  Log Message:
  -----------
  Merge pull request #2698 from metaodi/2697-like-query-autocomplete

[#2697] Make sure package_autocomplete uses LIKE with wildcards


Compare: https://github.com/ckan/ckan/compare/2f8d75c4da1c...587e20647820


More information about the ckan-changes mailing list