update view name to new world order. twisty
authorMark Hammond <mhammond@skippinet.com.au>
Tue, 10 Mar 2009 17:54:24 +1100
branchtwisty
changeset 70 557ef1b824258f490a54d08545b90b9d88cf746b
parent 69 057aae263c27cf40b957c1652b663e6f2d6f8d51
child 71 3e37c73cb0001578c8390b4fa7168dd6b44d7251
push id1
push userroot
push dateWed, 08 Apr 2009 01:46:05 +0000
update view name to new world order.
client/index.xhtml
--- a/client/index.xhtml
+++ b/client/index.xhtml
@@ -61,18 +61,18 @@
       ru.addStaticMailbox("Trash","trash");
       ru.addStaticMailbox("Junk","junk");
       
       ru.addDynamicMailbox("People","people-by-frecency");
       ru.addDynamicMailbox("Search","searches");
       ru.addDynamicMailbox("Discussion","discussion");
       
       
-      var dbMessages = $.couch.db("messages");
-      dbMessages.view("by_header_id/by_mailing_list", {
+      var dbMessages = $.couch.db("raindrop");
+      dbMessages.view("raindrop!mailing_lists!all/by_list_id", {
         include_docs: false,
         group : true,
         success: function(json) {
           var parent = $("#discussion");
           json.rows.forEach(function(row) {
             var li = $(document.createElement("li")).addClass("discussion-list");
             parent.append(li
                           .append($(document.createElement("a"))