[ 
https://issues.apache.org/jira/browse/RANGER-4517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Madhan Neethiraj updated RANGER-4517:
-------------------------------------
    Fix Version/s: 3.0.0
                   2.5.0

> Sort param sortType not considered if sortBy not passed
> -------------------------------------------------------
>
>                 Key: RANGER-4517
>                 URL: https://issues.apache.org/jira/browse/RANGER-4517
>             Project: Ranger
>          Issue Type: Sub-task
>          Components: admin
>            Reporter: Subhrat Chaudhary
>            Assignee: Subhrat Chaudhary
>            Priority: Major
>             Fix For: 3.0.0, 2.5.0
>
>
> The sort param sortType is not considered if sortBy is not passed in the 
> query-param. Please consider following case:
>  * The GET API /service/gds/dataset has default sortType=asc and 
> sortBy=datasetId.
>  * Please find the query-param input and actual responses received:
>  
> ||Request - sortBy||Request - sortType||Response - sortBy||Response - 
> sortType||
> |Not passed|Not passed|datasetId|asc|
> |datasetName|Not passed|datasetName|asc|
> |datasetName|desc|datasetName|desc|
> |{color:#FF0000}Not 
> passed{color}|{color:#FF0000}desc{color}|{color:#FF0000}datasetId{color}|{color:#FF0000}asc{color}|
> |datasetId|desc|datasetId|desc|
> As noticed above if the sortBy is not passed in the request query-param 
> sortType param is not considered.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to