fix(cache): remove risky caching for submissions
This commit is contained in:
parent
cf5759bc60
commit
4ae59fc1fa
@ -397,7 +397,7 @@ colSubmissionLink = sortable (Just "submission") (i18nCell MsgTableSubmission) $
|
|||||||
csh = x ^. resultCourseShorthand
|
csh = x ^. resultCourseShorthand
|
||||||
shn = x ^. resultSheet . _entityVal . _sheetName
|
shn = x ^. resultSheet . _entityVal . _sheetName
|
||||||
subCID = x ^. resultCryptoID
|
subCID = x ^. resultCryptoID
|
||||||
in anchorCellC $cacheIdentHere (CSubmissionR tid ssh csh shn subCID SubShowR) (toPathPiece subCID)
|
in anchorCell (CSubmissionR tid ssh csh shn subCID SubShowR) (toPathPiece subCID)
|
||||||
|
|
||||||
colSelect :: forall act h epId. (Semigroup act, Monoid act, Headedness h, Ord epId) => Colonnade h CorrectionTableData (DBCell _ (FormResult (act, DBFormResult CryptoFileNameSubmission Bool CorrectionTableData), SheetTypeSummary epId))
|
colSelect :: forall act h epId. (Semigroup act, Monoid act, Headedness h, Ord epId) => Colonnade h CorrectionTableData (DBCell _ (FormResult (act, DBFormResult CryptoFileNameSubmission Bool CorrectionTableData), SheetTypeSummary epId))
|
||||||
colSelect = dbSelect (_1 . applying _2) id $ views resultCryptoID return
|
colSelect = dbSelect (_1 . applying _2) id $ views resultCryptoID return
|
||||||
|
|||||||
Reference in New Issue
Block a user