BukGet/pybukget — pull request #3 by totokaka (2014-02-23 13:30:26+00:00)
Title: Collapse fields also when in data

This commit collapses the fields to a comma separated string when they are placed in data, in addition to when they are placed in query. This fixes an issue which makes searching through the ORM impossible. To recreate this issue, you can try this:

bukget.orm.search({'field':'slug','action':'=','value':'backpacks'})

which won't work, and then

bukget.api.search({'field':'slug','action':'=','value':'backpacks'})

which will work.

I've traced this issue to be the missing collapsing of lists to comma separated strings when the fields are in the data, and not the query object.