Subversion Repositories SmartDukaan

Rev

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

Rev 2948 Rev 3173
Line 166... Line 166...
166
    	    	
166
    	    	
167
    	if(this.request.getParameter("page") != null){
167
    	if(this.request.getParameter("page") != null){
168
    		this.page = Long.parseLong(this.request.getParameter("page"));
168
    		this.page = Long.parseLong(this.request.getParameter("page"));
169
    		this.beginIndex = this.windowSize * (this.page-1);
169
    		this.beginIndex = this.windowSize * (this.page-1);
170
    	}
170
    	}
171
    	if(this.request.getParameter("min-price") != null){
171
    	if(this.request.getParameter("minPrice") != null){
172
    		this.minPrice = (new Double(this.request.getParameter("min-price")));
172
    		this.minPrice = (new Double(this.request.getParameter("minPrice")));
173
    		url= url + "&min-price=" + this.request.getParameter("min-price");
173
    		url= url + "&minPrice=" + this.request.getParameter("minPrice");
174
    	}
174
    	}
175
    	if(this.request.getParameter("max-price") != null){
175
    	if(this.request.getParameter("maxPrice") != null){
176
    		this.maxPrice = (new Double(this.request.getParameter("max-price")));
176
    		this.maxPrice = (new Double(this.request.getParameter("maxPrice")));
177
    		url= url + "&max-price=" + this.request.getParameter("max-price");
177
    		url= url + "&maxPrice=" + this.request.getParameter("maxPrice");
178
    	}    	
178
    	}    	
179
 
179
 
180
    	query = query + "&sort=F_50002+asc";
180
    	query = query + "&sort=F_50002+asc";
181
    	
181
    	
182
    	SolrSearchService search = new SolrSearchService(query, newfqrys, facetDefIDs, (page-1)*windowSize, windowSize, minPrice, maxPrice, Utils.ROOT_CATEGORY, null);
182
    	SolrSearchService search = new SolrSearchService(query, newfqrys, facetDefIDs, (page-1)*windowSize, windowSize, minPrice, maxPrice, Utils.ROOT_CATEGORY, null);