Ticket #8271 (closed: fixed)
[ICAT] Sort by file size not working correctly
Reported by: | Arturs Bekasovs | Owned by: | Jay Rainey |
---|---|---|---|
Priority: | major | Milestone: | Release 3.1 |
Component: | GUI | Keywords: | ICAT,ICAT4 |
Cc: | Blocked By: | ||
Blocking: | Tester: | Arturs Bekasovs |
Description
On the data pane for any investigation, if you try to sort by size of the data file, sorting is pretty primitive (character by character) and you don't get what you expect.
E.g. 112B is bigger than 1020B, or 2B is bigger than 1G.
Change History
comment:1 Changed 7 years ago by Jay Rainey
- Keywords ICAT,ICAT4 added
- Summary changed from ICat: Sort by file size not working correctly to [ICAT] Sort by file size not working correctly
comment:2 Changed 7 years ago by Jay Rainey
- Status changed from new to inprogress
Sort by filesize in datafile table. Refs #8271.
Changeset: ad142f7f8dcfb802f7b1f77fe918793d04d6613a
comment:3 Changed 7 years ago by Jay Rainey
Hide `file size(bytes) column. Refs #8271.
Changeset: 2b04375227bfb922619cfb4735162f32a06615ae
comment:4 Changed 7 years ago by Jay Rainey
- Status changed from inprogress to verify
- Resolution set to fixed
To test
- Open Mantid & log into the catalog.
- Perform a search. For example, entire structure into 'Investigation name'.
- Click an investigation.
- The datafile table will be populated (default sorted by name).
- Click the "File size" column and verify if the table is now sorted by file size. Click it again to sort in the opposite order (ascending/descending).
The table should now sort by file size when the related column is clicked.
comment:5 Changed 7 years ago by Arturs Bekasovs
- Status changed from verify to verifying
- Tester set to Arturs Bekasovs
comment:6 Changed 7 years ago by Arturs Bekasovs
- Status changed from verifying to closed
Merge remote-tracking branch 'origin/feature/8271_icat_sort_by_filesize'
Full changeset: fb0d7126c4320a6cff0ff017001e6a4782734b29