* Calculate a 'stopmsg' var rather than maxmsgs, fixes mailbox safe mode
[citadel.git] / webcit / static / t / mailsummary_json.html
index 1322978a0151e58ea6c25c636abf724644a95327..4961adba78e638358b6be629122e075bae0c417a 100644 (file)
@@ -1,5 +1,6 @@
 { "nummsgs": <?READLOOP:TOTALMSGS>,
 "startmsg": <?READLOOP:STARTMSG>,
 "roomname": "<?ROOMNAME>",
-"msgs": [ <?ITERATE("MAIL:SUMM:MSGS", "mailsummary_json_section", B("startmsg"), B("maxmsgs"))> ]
+"msgs": [ <?ITERATE("MAIL:SUMM:MSGS", "mailsummary_json_section",
+B("startmsg"), 0, B("stopmsg"))> ]
 }