Subversion Repositories SmartDukaan

Rev

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

Rev 8882 Rev 8884
Line 153... Line 153...
153
		if(sourceId != -1){
153
		if(sourceId != -1){
154
			priceFacetName = priceFacetName + "_" + sourceId;
154
			priceFacetName = priceFacetName + "_" + sourceId;
155
		}
155
		}
156
		
156
		
157
		setFilterableFacets(facetqueries);
157
		setFilterableFacets(facetqueries);
-
 
158
		this.filtrableFacets.remove(Utils.availabilityFacet);
-
 
159
		this.filtrableFacets.add(Utils.availabilityFacet);
158
		
160
		
159
		
161
		
160
		this.xpath = XPathFactory.newInstance().newXPath();
162
		this.xpath = XPathFactory.newInstance().newXPath();
161
		
163
		
162
		query = query.trim().replaceAll("\\s+", " ");
164
		query = query.trim().replaceAll("\\s+", " ");
Line 281... Line 283...
281
					this.filtrableFacets.addAll(CATEGORY_FACET_MAP.get(facetVal));
283
					this.filtrableFacets.addAll(CATEGORY_FACET_MAP.get(facetVal));
282
					return;
284
					return;
283
				}
285
				}
284
			}
286
			}
285
		}
287
		}
286
		this.filtrableFacets.remove(Utils.availabilityFacet);
-
 
287
		this.filtrableFacets.add(Utils.availabilityFacet);
-
 
288
	}
288
	}
289
 
289
 
290
	public List<String> getFilterableFacets() {
290
	public List<String> getFilterableFacets() {
291
		return this.filtrableFacets; 
291
		return this.filtrableFacets; 
292
	}
292
	}