openknowledge-archive / dpr-api

DEPRECATED - Data Package Registry API and Frontend
http://frictionlessdata.io/
MIT License
7 stars 6 forks source link

[js] DATA_PACKAGE_URL is not passed from dpr-api #254

Closed subhankarb closed 7 years ago

subhankarb commented 7 years ago

In new implementation of dpr-js in index.jsx the container DataPackageView needs two parameters

In the previous implementation this container needed publisher and package as parameters. So we need to pass these two variables form API GET /<publisher>/<package> and set these two parameters in dataset.html

Tasks

rufuspollock commented 7 years ago

I'll fix this now. Forgot to make this change when i updated the submodule.

subhankarb commented 7 years ago

@rufuspollock i was doing this. Already finished. Should i raise pull?

subhankarb commented 7 years ago

FIXED. Addressed in this commit: https://github.com/frictionlessdata/dpr-api/commit/4e47b26e8f2a8889dbfb689be38dd456c80cfe6e