current function doesn't allow getting a row from a menu as the function to get the row_id is missing. Changing so that if you put a 0 then it will use current row as the context which is consistent with delete row
Description
row_id is pulled when the reference is set to 0 to make consistent with the validation function, spec and deleterow so that either row id or search is used
Motivation and Context
It makes consistent use of function with others, however is valuable when using a menu item to pull a row which isn't otherwise possible, for example to take a field and add it as an artifact
[] Either no new documentation is required by this change, OR I added new documentation
[] Either no new tests are required by this change, OR I added new tests
[] I have run pep8 and pylint. I have cleaned up all valid errors and warnings in code I have added or modified. These tools may generate false positives. Don't be worried about ignoring some errors or warnings. The goal is clean, consistent, and readable code.
current function doesn't allow getting a row from a menu as the function to get the row_id is missing. Changing so that if you put a 0 then it will use current row as the context which is consistent with delete row
Description
row_id is pulled when the reference is set to 0 to make consistent with the validation function, spec and deleterow so that either row id or search is used
Motivation and Context
It makes consistent use of function with others, however is valuable when using a menu item to pull a row which isn't otherwise possible, for example to take a field and add it as an artifact
How Has This Been Tested?
Checklist:
Signed-off-by: