Subversion Repositories SmartDukaan

Rev

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

Rev 27091 Rev 27105
Line 98... Line 98...
98
		}
98
		}
99
		if (subCategoryId != 0) {
99
		if (subCategoryId != 0) {
100
			parentFilter.add("subCategoryId_i:" + subCategoryId);
100
			parentFilter.add("subCategoryId_i:" + subCategoryId);
101
		}
101
		}
102
		if (StringUtils.isNotBlank(brand)) {
102
		if (StringUtils.isNotBlank(brand)) {
103
			parentFilter.add("brand_ss:" + brand);
103
			parentFilter.add("brand_ss:" + "\\\"" + brand + "\\\"");
104
		}
104
		}
105
		if (queryTerm == "") {
105
		if (queryTerm == "") {
106
			params.put("sort", (sort=="" ? "" : sort + ", ")+"create_s desc" );
106
			params.put("sort", (sort=="" ? "" : sort + ", ")+"create_s desc" );
107
		} else {
107
		} else {
108
			parentFilter.addAll(Arrays.asList(queryTerm.split(" ")));
108
			parentFilter.addAll(Arrays.asList(queryTerm.split(" ")));