vidakovic commented on code in PR #2277:
URL: https://github.com/apache/fineract/pull/2277#discussion_r847649358


##########
fineract-provider/src/main/java/org/apache/fineract/accounting/glaccount/service/GLAccountReadPlatformServiceImpl.java:
##########
@@ -144,7 +144,7 @@ public List<GLAccountData> retrieveAllGLAccounts(final 
Integer accountClassifica
             boolean firstWhereConditionAdded = false;
             if (accountClassification != null) {
                 sql += " classification_enum like ?";
-                paramaterArray[arrayPos] = accountClassification;
+                paramaterArray[arrayPos] = accountClassification.shortValue();

Review Comment:
   Any specific reason why this needs to be a "short" type? Seems a bit odd...



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to