Subversion Repositories SmartDukaan

Rev

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

Rev 24972 Rev 24973
Line 195... Line 195...
195
			UserCart uc = userAccountRepository.getUserCart(userInfo.getUserId());
195
			UserCart uc = userAccountRepository.getUserCart(userInfo.getUserId());
196
			List<Integer> tagIds = pricingService.getTagsIdsByRetailerId(uc.getUserId());
196
			List<Integer> tagIds = pricingService.getTagsIdsByRetailerId(uc.getUserId());
197
			RestClient rc = new RestClient();
197
			RestClient rc = new RestClient();
198
			Map<String, String> params = new HashMap<>();
198
			Map<String, String> params = new HashMap<>();
199
			List<String> mandatoryQ = new ArrayList<>();
199
			List<String> mandatoryQ = new ArrayList<>();
200
			if (queryTerm != null) {
200
			if (queryTerm != null && queryTerm != "null") {
201
				mandatoryQ.add(String.format("+(%s) ", queryTerm));
201
				mandatoryQ.add(String.format("+(%s) ", queryTerm));
202
			}
202
			}
203
			if (brand != null) {
203
			if (brand != null) {
204
 
204
 
205
				mandatoryQ.add(
205
				mandatoryQ.add(