Show a View instead of a RecordType in a CouchGrid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Quickly Widgets |
New
|
Undecided
|
Unassigned |
Bug Description
It would be a great feature to be able to show a DesktopCouch View instead of a RecordType in a CouchGrid. Right now you can do this:
keys = ["nombre", "email", "distro"]
record_type = "http://
self.couchgrid = CouchGrid(
self.couchgrid.
I would like to do something like:
if not self.database.
viewfn = 'function (doc){ emit([doc.mes], doc);}'
self.
results = self.database.
keys = ["nombre", "email", "distro"]
record_type = "http://
self.couchgrid = CouchGrid(
self.couchgrid.
There should be a better way to pass the results to the CouchGrid, but I just started with Python and I'm not pretty sure the right way to implement it, maybe passing the View name instead of the record_type and not passing the extra parameter to the constructor.
description: | updated |
You're onto something, but I'm not entirely sure if I'd do it exactly like that. I'm going to have a look at some of these things in the not-too-distant future.