[ckan-changes] [okfn/ckan] 9d6f9d: [#861] Change the logic for sorting dataset search

GitHub noreply at github.com
Mon Jul 1 11:54:40 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/okfn/ckan
  Commit: 9d6f9dceb21e3e53f36a4fed44587b2e89c5ad19
      https://github.com/okfn/ckan/commit/9d6f9dceb21e3e53f36a4fed44587b2e89c5ad19
  Author: Nigel Babu <nigelbabu at gmail.com>
  Date:   2013-06-12 (Wed, 12 Jun 2013)

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

  Log Message:
  -----------
  [#861] Change the logic for sorting dataset search

Default to metadata_modified desc if no query and relevance if there is
a query.


  Commit: 655c2dd9d8e9ca7e6cbddf2d6d993262a8024a08
      https://github.com/okfn/ckan/commit/655c2dd9d8e9ca7e6cbddf2d6d993262a8024a08
  Author: Nigel Babu <nigelbabu at gmail.com>
  Date:   2013-06-16 (Sun, 16 Jun 2013)

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

  Log Message:
  -----------
  [#861] Remove 'metadata_modified' from if

Also, modify the default sort order if there is a search query to be
"score desc, metadata_modified"


  Commit: 067d43006fd542eee7a0a9a11fdec5f42c02add4
      https://github.com/okfn/ckan/commit/067d43006fd542eee7a0a9a11fdec5f42c02add4
  Author: Nigel Babu <nigelbabu at gmail.com>
  Date:   2013-06-16 (Sun, 16 Jun 2013)

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

  Log Message:
  -----------
  [#861] Use the .get() function to look for 'q'


  Commit: cac55c623cfd3d9840a05fc392a61cf3a40b03cd
      https://github.com/okfn/ckan/commit/cac55c623cfd3d9840a05fc392a61cf3a40b03cd
  Author: tobes <toby.junk at gmail.com>
  Date:   2013-07-01 (Mon, 01 Jul 2013)

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

  Log Message:
  -----------
  Merge branch '861-order-by-dropdown'


  Commit: d1b8b4e3b8add8116b8afeb8df657272df4b7455
      https://github.com/okfn/ckan/commit/d1b8b4e3b8add8116b8afeb8df657272df4b7455
  Author: tobes <toby.junk at gmail.com>
  Date:   2013-07-01 (Mon, 01 Jul 2013)

  Changed paths:
    M ckan/lib/formatters.py
    M ckan/lib/helpers.py
    M ckan/logic/auth/get.py
    M ckan/logic/schema.py
    M ckan/logic/validators.py
    A ckan/public/base/javascript/modules/dataset-visibility.js
    M ckan/public/base/javascript/resource.config
    M ckan/templates/package/snippets/package_basic_fields.html
    M ckan/templates/package/snippets/package_metadata_fields.html
    M ckan/tests/functional/api/model/test_package.py
    M ckan/tests/functional/api/test_activity.py
    M ckan/tests/functional/test_package.py
    M ckan/tests/lib/test_helpers.py
    M ckan/tests/logic/test_action.py
    M ckanext/datastore/tests/test_search.py

  Log Message:
  -----------
  Merge branch 'master' of github.com:okfn/ckan


Compare: https://github.com/okfn/ckan/compare/ccd12d389a73...d1b8b4e3b8ad


More information about the ckan-changes mailing list