[ https://issues.apache.org/jira/browse/ATLAS-4810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17783935#comment-17783935 ]
Prasad P. Pawar edited comment on ATLAS-4810 at 11/16/23 5:32 AM: ------------------------------------------------------------------ Hi, This patch will have the required issue fix, on search page UI sorting is not available for non-primitive types columns. Sorting options on table columns will be now available if the attribute values for those columns are strings/numbers (primitive types) and not a type of array/map/obj (non-primitive types). For example, the column 'qualifiedName' for a hive_table type entity can be sorted in ascending or descending order as it is a string type attribute, but not the attribute 'columns' because that is an array that contains objects of the type 'hive_column'. In Basic search, we get details from the respective entity calls and based on these details, we allow or do not allow for sorting. The table values will be shown in different formats like anchor links, buttons like assigned classification/terms etc. For multivalued type attribute columns (like array of objects or array of strings or array of non-primitive types), the sorting options will be disabled in Basic Search. In Advanced search, we do not get the details of the attributes in advance like in Basic Search. So the search result column values are shown in the form of simple text/string. Sorting options will be available for these columns. was (Author: prasadpp13): Hi, This patch will have the required issue fix, on search page UI for classification and term if we are having assign button visible, then sorting is not available for those columns. > Atlas UI Basic Searching result sorting option not available on all Columns > --------------------------------------------------------------------------- > > Key: ATLAS-4810 > URL: https://issues.apache.org/jira/browse/ATLAS-4810 > Project: Atlas > Issue Type: Bug > Components: atlas-webui > Reporter: Prasad P. Pawar > Assignee: Prasad P. Pawar > Priority: Major > Attachments: > 0001-ATLAS-4810-Atlas-UI-Basic-Searching-result-sorting-o.patch, Atlas > Advanced Searching result sorting.png, Atlas Basic Searching result > sorting.png, advanced-search.PNG, basic-search.PNG > > > Basically in Basic search (hive_column as an example), we can add the Columns > from the right side for the results, but those added Columns don't have the > sorting option (Ascending/Descending) on the UI , only 4 default Columns > (Name, Owner, Description and Type) has sorting option. > However if using Advanced reaching, we query the same Column name "from > hive_column select position", that "position" has the sort errors next to it. > Same Column "position" in Basic Searching doesn't have the sort function. -- This message was sent by Atlassian Jira (v8.20.10#820010)