Subversion Repositories SmartDukaan

Rev

Rev 31676 | Rev 31709 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 31676 Rev 31695
Line 668... Line 668...
668
			if (webProducts.size() == 0) {
668
			if (webProducts.size() == 0) {
669
				return new ArrayList<>();
669
				return new ArrayList<>();
670
			}
670
			}
671
 
671
 
672
			mandatoryQ.add(String.format("+{!parent which=\"catalogId_i:" + StringUtils.join(webProducts, " ")
672
			mandatoryQ.add(String.format("+{!parent which=\"catalogId_i:" + StringUtils.join(webProducts, " ")
673
					+ "\"} AND active_b:true AND hsncode_s:85171300"));
673
					+ "\"} AND active_b:true"));
674
 
674
 
675
		}
675
		}
676
		params.put("q", StringUtils.join(mandatoryQ, " "));
676
		params.put("q", StringUtils.join(mandatoryQ, " "));
677
		params.put("fl", "*, [child parentFilter=id:catalog* childFilter=active_b:true ]");
677
		params.put("fl", "*, [child parentFilter=id:catalog* childFilter=active_b:true ]");
678
 
678