Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3C6E7D097 for ; Tue, 7 Aug 2012 04:41:11 +0000 (UTC) Received: (qmail 95440 invoked by uid 500); 7 Aug 2012 04:41:09 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 95117 invoked by uid 500); 7 Aug 2012 04:41:04 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 95076 invoked by uid 99); 7 Aug 2012 04:41:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Aug 2012 04:41:03 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of themobi@hotmail.com designates 65.55.116.81 as permitted sender) Received: from [65.55.116.81] (HELO blu0-omc3-s6.blu0.hotmail.com) (65.55.116.81) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Aug 2012 04:40:54 +0000 Received: from BLU151-W52 ([65.55.116.72]) by blu0-omc3-s6.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 6 Aug 2012 21:40:33 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_5d427299-99d1-4d15-9d71-5a0057a83df0_" X-Originating-IP: [110.34.39.108] From: Mobashir Hasan To: Subject: Document filter and sorting Date: Tue, 7 Aug 2012 09:40:33 +0500 Importance: Normal In-Reply-To: References: MIME-Version: 1.0 X-OriginalArrivalTime: 07 Aug 2012 04:40:33.0655 (UTC) FILETIME=[C816A870:01CD7456] X-Virus-Checked: Checked by ClamAV on apache.org --_5d427299-99d1-4d15-9d71-5a0057a83df0_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi=2C I'm new to couchdb and have stuck badly=2C I have a listing page where I di= splay the documents that has some specific values.Now what I have to do is = to filter these document by different user inputs and sorting the documents= by different columns.I have 6 columns in my documents.Date to=2C Date from= =2C Name=2C City=2C State=2C Country=2C Zip when user inputs city and hit filter so it should display documents of that= city only.Similarly=2C when user click on column name "City" it should sor= t / asc / desc. Work environment is JavaScript / html only. Any help will be highly appreciated. Thanks=2CMobashir = --_5d427299-99d1-4d15-9d71-5a0057a83df0_--