Skip to content

Commit

Permalink
[dictionary] Fixed order of attributes in the json prepare method for…
Browse files Browse the repository at this point in the history
… response for 'Dictionary Beta'. UI waits the enumeration 'options' before the 'visits' (#8976)

The "visits" attribute has been removed from array initialization as it affects the response for the UI. UI waits for JSON where in the list of column for the table row, "visits" goes after "otions" by the order.
  • Loading branch information
yagurdmitriy authored Nov 27, 2023
1 parent 91ceee1 commit edc730f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/dictionary/php/datadictrow.class.inc
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ class DataDictRow implements \LORIS\Data\DataInstance,
'datascope' => $scope,
'type' => $this->getDataType(),
'cardinality' => $this->getCardinality(),
'visits' => $this->visits,
];

$itype = $this->item->getDataType();
Expand Down

0 comments on commit edc730f

Please # to comment.