Subversion Repositories SmartDukaan

Rev

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

Rev 6931 Rev 6942
Line 215... Line 215...
215
    	setFacet(Arrays.asList(newfqrys), search);
215
    	setFacet(Arrays.asList(newfqrys), search);
216
 
216
 
217
    	
217
    	
218
    	Map<String, Double> priceMap = search.getPriceStatsMap();
218
    	Map<String, Double> priceMap = search.getPriceStatsMap();
219
    	if(priceMap != null){
219
    	if(priceMap != null){
-
 
220
    		if (this.minPrice == null){
220
    		this.minPrice = priceMap.get("min");
221
    			this.minPrice = priceMap.get("min");
-
 
222
    		}
-
 
223
    		if(this.maxPrice == null) {
221
    		this.maxPrice = priceMap.get("max");
224
    			this.maxPrice = priceMap.get("max");
-
 
225
    		}
222
    	}else{
226
    	}else{
223
    		this.minPrice = 0.0;
227
    		this.minPrice = 0.0;
224
    		this.maxPrice = 0.0;
228
    		this.maxPrice = 0.0;
225
    	}
229
    	}
226
    	this.totalResults = search.getTotalResults();
230
    	this.totalResults = search.getTotalResults();