I was looking to build out the filter section a little more so people could narrow down to more specific loans using:

  • Partner Id
  • Sector
  • Gender

Note that we would also have to update the kiva.install file to account for the three extra variables. Can you check out the patch and if everything looks good I can go ahead and commit to the Dev AND Head ;)

CommentFileSizeAuthor
kiva.install.patch613 bytesquickcel
kiva.module.patch2.3 KBquickcel

Comments

quickcel’s picture

I noticed a problem with one of the sector variables, "Personal Use". I can't seem to get this one to work properly. I've tried:

  • 'Personal Use'
  • 'PersonalUse'
  • 'Personal%20Use'
  • 'Personal'
  • '16' (this is the id number shown if you filter by Personal Use on kiva.org)

None of those return any loans, and out of ideas for the time being. Anybody have a guess?

quickcel’s picture

Looks like it is currently a bug in the api. Here is a link to the thread from the Google Group:

http://groups.google.com/group/build-kiva/browse_thread/thread/69d5db226...

quickcel’s picture

Looks like the bug has been fixed in the api:

http://groups.google.com/group/build-kiva/browse_thread/thread/6f9026448...

I'll make sure to put this fix in the code and then commit the patch.

quickcel’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.