Skip to content
This repository has been archived by the owner on Nov 7, 2018. It is now read-only.

New Projects not appearing on data-file #20

Open
benfoxall opened this issue Nov 28, 2011 · 7 comments
Open

New Projects not appearing on data-file #20

benfoxall opened this issue Nov 28, 2011 · 7 comments
Labels

Comments

@benfoxall
Copy link
Contributor

On the page : http://aidview.net/data-file?Funder=SE-2&SectorCategory=122

The "New Projects" widget doesn't seem to be populated.

@benfoxall
Copy link
Contributor Author

Looks like this is the result of api limiting

@siwhitehouse
Copy link

Hi Ben

My understanding of the AidView API (at our end) is that there isn't any limits on the calls you can make to it. As the "New Projects" widget still doesn't seem to be populating can we take another look at this, please?

I'm happy to take any suggestions on what we can do to help you troubleshoot this.

@siwhitehouse
Copy link

Ben - I'm not sure that I fully understand this query. What ought the "New Projects" widget be doing?

@benfoxall
Copy link
Contributor Author

It looks like it's a problem with the new api too:

http://localhost:3000/data-file?Funder=SE-2&SectorCategory=122

The actual widget page url:

http://localhost:3000/widgets/new_projects?Funder=SE-2&SectorCategory=122&view=full

And the api request made to build it:

http://109.104.101.243:8080/exist/rest/db/apps/iati/xquery/woapi.xq?Funder=SE-2&SectorCategory=122&corpus=test&format=json&orderby=start-actual&pagesize=5&result=values

looks like there isn't any data coming back in there. Removing "orderby=start-actual" - seems to return some activities.

I think this widget is supposed to show the most recent 5 items.

@KitWallace
Copy link

The API was somewhat over-protective and was ignoring activities without a start-actual date when ordering by start-actual. Both queries return the same result now

@siwhitehouse
Copy link

http://aidview-dev.herokuapp.com/data-file?Funder=SE-2&SectorCategory=122 is now pulling through 5 new projects. When I click on the widget the resulting page lists the projects but doesn't contain clickable links through to them.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants