* complete the sorting api by non-room based preferences
[citadel.git] / webcit / messages.c
index 06a69f7b7992b6c6fba9f112f98369e5e16ddeea..3e8d1d0545fac8ec0fe5433ae362c13189fe705b 100644 (file)
@@ -757,7 +757,7 @@ void readloop(long oper)
                memset(&SubTP, 0, sizeof(WCTemplputParams));
                SubTP.ContextType = CTX_NONE;
                SubTP.Context = NULL;
-               SortIt =  RetrieveSort(&SubTP, NULL, 
+               SortIt =  RetrieveSort(&SubTP, NULL, 0,
                                       HKEY("date"), defaultsortorder);
                if (SortIt != NULL)
                        SortByPayload(WCC->summ, SortIt);