Loading
Fix file_size=0 preventing size resolution in TDoc queries
_prepare_tdoc normalized file_size=None -> 0 for bulk insert consistency, but resolve_tdoc_file_sizes skipped 0 (treated as truthy/known). This made every record show '?' in the Size (KB) column. - Remove file_size normalization from _prepare_tdoc (None means unknown) - Change resolve guard to truthiness check (catches legacy 0 values) - Backfilled 21232 records in DB: file_size=0 -> NULL