Skip to content

Commit

Permalink
BroadleafCommerce/QA#1711 - Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jefffischer committed Apr 14, 2016
1 parent 7ea69c9 commit 140f272
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -235,6 +235,7 @@ public Predicate buildPredicate(CriteriaBuilder builder,
}
if (ArrayUtils.isEmpty(persistencePackage.getSectionCrumbs()) &&
(!cto.getCriteriaMap().containsKey("id") || CollectionUtils.isEmpty(cto.getCriteriaMap().get("id").getFilterValues()))) {
//Add special handling for product list grid fetches
boolean hasExplicitSort = false;
for (FilterAndSortCriteria filter : cto.getCriteriaMap().values()) {
hasExplicitSort = filter.getSortDirection() != null;
Expand Down

0 comments on commit 140f272

Please sign in to comment.