Page 1 of 1

View attached File Size in MB instead of Bytes

Posted: 12 Aug 2015, 09:52
by DevTech
Hello,
I want to view file size in MB and not in Bytes.
FileSize.png
FileSize.png (4.21 KiB) Viewed 4796 times
As in given screenshot,File size is shown in bytes(13,286) which I want to view in MB.

Re: View attached File Size in MB instead of Bytes

Posted: 12 Aug 2015, 10:39
by atrol
There is no configuration option for it.
You would have to change the source code of function print_bug_attachment_header if you want it in short term.
You can enter a feature request at https://www.mantisbt.org/bugs to get a chance that it might be implemented in long term in a future version of MantisBT.