Revise Plating History filters
- Issue MatterHackers/MCCentral#5606 Plating history only shows the most 25 recent items - Issue MatterHackers/MCCentral#5607 Plating history hides files less than 500 bytes
This commit is contained in:
parent
3ad428ead3
commit
1e7c37ab5d
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ namespace MatterHackers.MatterControl.Library
|
|||
if (Directory.Exists(this.FullPath))
|
||||
{
|
||||
var recentFiles = new DirectoryInfo(this.FullPath).GetFiles("*.mcx").OrderByDescending(f => f.LastWriteTime);
|
||||
Items = recentFiles.Where(f => f.Length > 500).Take(this.PageSize).Select(f => new FileSystemFileItem(f.FullName)).ToList<ILibraryItem>();
|
||||
Items = recentFiles.Where(f => f.Length > 215).Select(f => new FileSystemFileItem(f.FullName)).ToList<ILibraryItem>();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue