incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Gabriel <a...@barbalex.ch>
Subject Re: filtering a list
Date Wed, 24 Aug 2011 19:17:16 GMT
Hi Dennis

That did it. I hadn't known that you can only sort and filter by key.

Thanks a lot!



2011/8/24 Dennis Clark <dbfclark@gmail.com>

> A list is a function that transforms view output (into, say, xml or csv or
> something). Parameters are either used by your list function or processed
> by
> the view, which you can only sort by key. So if BeobExport had user as its
> key, you'd say ?key="<user>".
>
> On Wed, Aug 24, 2011 at 3:02 PM, Alexander Gabriel <alex@barbalex.ch>
> wrote:
>
> > Hi
> >
> > This must be a very dumb question.
> > The definitive guide says, lists filter like views.
> > For views it gives this
> > example: /blog/_design/docs/_view/by_date?key="2009/01/30 18:04:11"
> > Why does this list not filter by User?: window.open(path +
> > '_list/BeobExport/BeobListe?User="' + User + '"');
> >
> > Thanks for help
> >
> > Alex
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message