Fix app installing issue in kiosk

feature/appm-store/pbac
Dharmakeerthi Lasantha 5 years ago
parent 1e7f075ec0
commit 3ca303cdb5

@ -119,7 +119,7 @@ public class SQLServerApplicationDAOImpl extends GenericApplicationDAOImpl {
} }
if (filter.getLimit() == -1) { if (filter.getLimit() == -1) {
sql = sql.replace("OFFSET ? ROWS FETCH NEXT ? ROWS ONLY", ""); sql = sql.replace("ORDER BY ID OFFSET ? ROWS FETCH NEXT ? ROWS ONLY", "");
} }
String sortingOrder = "ASC"; String sortingOrder = "ASC";

@ -51,6 +51,7 @@ public class MDMAndroidOperationUtil {
EnterpriseApplication enterpriseApplication = new EnterpriseApplication(); EnterpriseApplication enterpriseApplication = new EnterpriseApplication();
enterpriseApplication.setType(application.getType().toString()); enterpriseApplication.setType(application.getType().toString());
enterpriseApplication.setUrl(application.getLocation()); enterpriseApplication.setUrl(application.getLocation());
enterpriseApplication.setAppIdentifier(application.getIdentifier());
operation.setPayLoad(enterpriseApplication.toJSON()); operation.setPayLoad(enterpriseApplication.toJSON());
break; break;
case PUBLIC: case PUBLIC:

Loading…
Cancel
Save