C2019-013 put sorted by information on the Search Results report

This commit is contained in:
2020-06-25 15:13:21 +00:00
parent 10445a7fd3
commit 0078020e60
2 changed files with 14 additions and 3 deletions

View File

@@ -1088,8 +1088,9 @@ namespace VEPROMS
void displaySearch1_PrintRequest(object sender, DisplaySearchEventArgs args)
{
// C2020-002 paper size is now set in the format files - default is Letter, pass this PDFReport
//C2019-013 pass in sorted by information
Volian.Print.Library.PDFReport myReport = new Volian.Print.Library.PDFReport(args.ReportTitle, args.TypesSelected, args.MyItemInfoList,
Volian.Base.Library.VlnSettings.TemporaryFolder + @"\searchresults.pdf", args.PaperSize);
Volian.Base.Library.VlnSettings.TemporaryFolder + @"\searchresults.pdf", args.PaperSize, args.SortedBy);
if (args.SearchString != null)
myReport.SearchString = args.SearchString;
if (!args.ReportTitle.Contains("Annotation"))