[ckan-changes] [ckan/ckan] 4f2148: [#1792] Pass the filters to iframed resource views

GitHub noreply at github.com
Mon Jun 30 19:23:38 UTC 2014


  Branch: refs/heads/1792-filterable-resource-views
  Home:   https://github.com/ckan/ckan
  Commit: 4f214847cb2f5ddcb869587d0b1cb73ec5555116
      https://github.com/ckan/ckan/commit/4f214847cb2f5ddcb869587d0b1cb73ec5555116
  Author: Vitor Baptista <vitor at vitorbaptista.com>
  Date:   2014-06-30 (Mon, 30 Jun 2014)

  Changed paths:
    M ckan/public/base/javascript/resource.config
    A ckan/public/base/javascript/viewhelpers-filters.js
    M ckan/templates/package/snippets/resource_view.html

  Log Message:
  -----------
  [#1792] Pass the filters to iframed resource views

It works simply by passing the `filters` query string to the iframed URL. As
iframed resources don't add JS files outside of the iframe, and we need
`ckan.views.viewhelpers.filters` to create the filters, I needed to move that
core from `ckanext-viewhelpers` to core and load it.

In the future, `ckanext-viewhelpers` will be completely merged into core and
will be removed.


  Commit: 39d9227dc74fc2b92aeda8811eef4e44a759b4b3
      https://github.com/ckan/ckan/commit/39d9227dc74fc2b92aeda8811eef4e44a759b4b3
  Author: Vitor Baptista <vitor at vitorbaptista.com>
  Date:   2014-06-30 (Mon, 30 Jun 2014)

  Changed paths:
    M ckanext/reclinepreview/plugin.py

  Log Message:
  -----------
  [#1792] Configure Recline's previews as filterable


Compare: https://github.com/ckan/ckan/compare/43a6fe871937...39d9227dc74f


More information about the ckan-changes mailing list