From edc730f9d69ab75225ca2078c56279caf8e7a06f Mon Sep 17 00:00:00 2001 From: Dzmitry Date: Mon, 27 Nov 2023 20:33:24 +0400 Subject: [PATCH] [dictionary] Fixed order of attributes in the json prepare method for 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. --- modules/dictionary/php/datadictrow.class.inc | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/dictionary/php/datadictrow.class.inc b/modules/dictionary/php/datadictrow.class.inc index 41289c343b8..9097f7b0dd1 100644 --- a/modules/dictionary/php/datadictrow.class.inc +++ b/modules/dictionary/php/datadictrow.class.inc @@ -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();