* add 'control context'; which will carry information from control elements into...
[citadel.git] / webcit / downloads.c
index b26666744659a9065660b21eaf00a7ec4b33577f..24276dc980c60cdd69acddb7aea051e0d355b767 100644 (file)
@@ -210,7 +210,7 @@ HashList* LoadFileList(StrBuf *Target, WCTemplputParams *TP)
                }
                Put(Files, SKEY(Entry->Filename), Entry, FreeFiles);
        }
-       SubTP.ContextType = CTX_FILELIST;
+       SubTP.Filter.ContextType = CTX_FILELIST;
        SortIt = RetrieveSort(&SubTP, NULL, 0, HKEY("fileunsorted"), 0);
        if (SortIt != NULL)
                SortByPayload(Files, SortIt);