New feature #430 : bulk set pdf-downloaded status

This commit is contained in:
Robert McRackan committed 2022-12-29 09:33:32 -05:00
1 parent c98664d584
commit 83fb2cd1d0
10 files changed
+441 -371

No files matched your search

+10 -1
View File
@@ -146,10 +146,19 @@ namespace DataLayer
}
}
}
public void SetPdfStatus(LiberatedStatus? pdfStatus)
{
// don't change whether pdf is actually available. if null, leave as null. if not null, only assign non-null
// null => non-null : only when adding a supplement
if (pdfStatus.HasValue && PdfStatus.HasValue)
PdfStatus = pdfStatus;
}
public LiberatedStatus? PdfStatus
{
get => _pdfStatus;
set
internal set
{
if (_pdfStatus != value)
{