[ckan-changes] [okfn/ckanjs] 87c2c2: [bugfix][s]: found bug whereby ckan_url for datase...
noreply at github.com
noreply at github.com
Fri Aug 5 10:43:40 UTC 2011
Branch: refs/heads/master
Home: https://github.com/okfn/ckanjs
Commit: 87c2c2bd47bccbf4bebd026bdbf3da9c839282a0
https://github.com/okfn/ckanjs/commit/87c2c2bd47bccbf4bebd026bdbf3da9c839282a0
Author: rgrp <http://rufuspollock.org>
Date: 2011-08-05 (Fri, 05 Aug 2011)
Changed paths:
M lib/model.js
M lib/templates.js
M lib/ui.js
M lib/view.js
Log Message:
-----------
[bugfix][s]: found bug whereby ckan_url for datasets was always using test.ckan.net rather than url set in config.
* Tracked this to fact we were using ${domain} attribute in template which in turn was set search view on UI initialization (and not updated by config update). This could be solved several ways but simplest was just to used the ckan_url from the original data (it was being overridden at the moment to toTemplateJSON).
More information about the ckan-changes
mailing list