Project

General

Profile

Improvement #11083

Updated by Arshana Atapattu 5 months ago

*Environment details* 
 staging server(610) 


 *Prerequisites* 
 published apps 
 more than 10 devices that the published app installed 


 *Description* 

 1. When using a filter, for example to see the devices where the app installation has failed(search => action:error), the filter is lost as soon as when go to the second page of the results list. 
 2. The number of results shown at the bottom of the list is incorrect. For example, when looking at the results in the page below, and there are 10 of them, but at the bottom the number says that there are more than 10 of them(example: 30), that it's showing 100 results per page, and that there is only one page. 


 Note:  
 For point 1 => 
 reason is, when a search applied the request going is this(search => Action: error): 
 https://uem.mgt.entgra.net/store-ui-request-handler/invoke/application-mgt-store/v1.0/admin/subscription/ <UUID> ?offset=0&limit=10&requireDeviceInfo=true&actionStatus=ERROR https://uem.mgt.entgra.net/store-ui-request-handler/invoke/application-mgt-store/v1.0/admin/subscription/<UUID>?offset=0&limit=10&requireDeviceInfo=true&actionStatus=ERROR 

 and as for when selecting a other page the request going is this(this is for selecting 2nd page): 

 https://uem.mgt.entgra.net/store-ui-request-handler/invoke/application-mgt-store/v1.0/admin/subscription/ <UUID> ?offset=20&limit=20&requireDeviceInfo=true 

 when selecting the pagination, it forgets about the search criteria and return without the search criteria 


 https://uem.mgt.entgra.net/store-ui-request-handler/invoke/application-mgt-store/v1.0/admin/subscription/<UUID>?offset=20&limit=20&requireDeviceInfo=true 



 As for point 2: 

 even with the 100 per page request it sending the limit as 10:  
 https://uem.mgt.entgra.net/store-ui-request-handler/invoke/application-mgt-store/v1.0/admin/subscription/ <UUID> ?offset=0&limit=10&requireDeviceInfo=true&actionStatus=ERROR https://uem.mgt.entgra.net/store-ui-request-handler/invoke/application-mgt-store/v1.0/admin/subscription/<UUID>?offset=0&limit=10&requireDeviceInfo=true&actionStatus=ERROR 

 *Result* 

Back