|
|
@ -686,10 +686,14 @@ public class ControlloPraticaAdvancedSearch { |
|
|
|
sort.setType(Sort.INT_TYPE); |
|
|
|
sort.setType(Sort.INT_TYPE); |
|
|
|
} else if (orderField.equals(PortosIndexField.PROTOCOLLO)) { |
|
|
|
} else if (orderField.equals(PortosIndexField.PROTOCOLLO)) { |
|
|
|
sort.setType(Sort.INT_TYPE); |
|
|
|
sort.setType(Sort.INT_TYPE); |
|
|
|
} else if (orderField.equals("dataCreazione")) { |
|
|
|
} else if (orderField.equals("dtPratica") || |
|
|
|
|
|
|
|
orderField.equals("dataCreazione") || |
|
|
|
|
|
|
|
orderField.equals("createDate") |
|
|
|
|
|
|
|
) { |
|
|
|
sort.setType(Sort.LONG_TYPE); |
|
|
|
sort.setType(Sort.LONG_TYPE); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (Validator.isNotNull(orderType) && !orderType.equals("-1")) { |
|
|
|
if (Validator.isNotNull(orderType) && !orderType.equals("-1")) { |
|
|
|
if (orderType.equals("asc")) { |
|
|
|
if (orderType.equals("asc")) { |
|
|
|
sort.setReverse(false); |
|
|
|
sort.setReverse(false); |
|
|
|