search logic
This commit is contained in:
@@ -223,7 +223,8 @@ namespace VEPROMS.CSLA.Library
|
||||
List<StepDataRetval> sds = new List<StepDataRetval>();
|
||||
foreach (StepData sd in StepDataList)
|
||||
{
|
||||
if (!sd.Inactive && sd.StepEditData.Searchable) sds.Add(new StepDataRetval(sd.StepEditData.TypeMenu.MenuItem, Convert.ToInt32(sd.Index)));
|
||||
if (!sd.Inactive && sd.StepEditData.Searchable && sd.StepEditData.TypeMenu.InMenu)
|
||||
sds.Add(new StepDataRetval(sd.StepEditData.TypeMenu.MenuItem, Convert.ToInt32(sd.Index)));
|
||||
}
|
||||
return sds;
|
||||
}
|
||||
@@ -250,7 +251,7 @@ namespace VEPROMS.CSLA.Library
|
||||
int retval = -1;
|
||||
int cntitm = 0;
|
||||
// if there are alternatenames for this item, use that list, otherwise, get list from
|
||||
// xml for current node & its children....
|
||||
// xml for current node & its children....
|
||||
if (topType.StepEditData.TypeMenu.AlternateNameList != null && topType.StepEditData.TypeMenu.AlternateNameList != "")
|
||||
{
|
||||
// loop through the AlternateName string, it has indices for step types..
|
||||
|
Reference in New Issue
Block a user