Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LINST/Dictionary] Add Numeric elements to dictionary #8869

Merged
merged 1 commit into from
Aug 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 7 additions & 7 deletions php/libraries/NDB_BVL_Instrument_LINST.class.inc
Original file line number Diff line number Diff line change
Expand Up @@ -734,14 +734,14 @@ class NDB_BVL_Instrument_LINST extends \NDB_BVL_Instrument
case 'numeric':
if ($addElements) {
$this->addNumericElement($pieces[1], $pieces[2]);
$this->dictionary[] = new DictionaryItem(
$this->testName."_".$pieces[1],
$pieces[2],
$scope,
new IntegerType(),
new Cardinality(Cardinality::SINGLE),
);
}
$this->dictionary[] = new DictionaryItem(
$this->testName."_".$pieces[1],
$pieces[2],
$scope,
new IntegerType(),
new Cardinality(Cardinality::SINGLE),
);
if ($firstFieldOfPage) {
$this->_requiredElements[] = $fieldname;
$firstFieldOfPage = false;
Expand Down