Skip to content

remove invenioFiles filters - #2101

Merged
zzacharo merged 1 commit into
CERNDocumentServer:mainfrom
zubeydecivelek:invenioFiles
Sep 1, 2025
Merged

remove invenioFiles filters#2101
zzacharo merged 1 commit into
CERNDocumentServer:mainfrom
zubeydecivelek:invenioFiles

Conversation

@zubeydecivelek

@zubeydecivelek zubeydecivelek commented Sep 1, 2025

Copy link
Copy Markdown
Contributor

Overrode the bytesToHumanReadable filter from invenio-files-js because its unit formatting was incorrect.

  • In invenio-files-js, file sizes were displayed as Kb, Mb, Gb, Tb(refer to bits).
  • Updated all units to uppercase (KB, MB, GB, TB) to correctly represent bytes.

We should check if we can remove invenio-files-js

@zzacharo
zzacharo merged commit 587b13c into CERNDocumentServer:main Sep 1, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants