Subversion Repositories SmartDukaan

Rev

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

Rev 1376 Rev 1472
Line 79... Line 79...
79
		if(this.request.getParameter("category") != null){
79
		if(this.request.getParameter("category") != null){
80
    		this.categoryId = Long.parseLong(this.request.getParameter("category"));
80
    		this.categoryId = Long.parseLong(this.request.getParameter("category"));
81
    		url= url + "&category=" + this.request.getParameter("category");
81
    		url= url + "&category=" + this.request.getParameter("category");
82
    	}
82
    	}
83
		if(query.trim().isEmpty()){
83
		if(query.trim().isEmpty()){
84
			if(categoryId != 10000){
84
			if(categoryId == 10001){
85
				location = "/category/" + categoryId;
85
				location = "/all-mobile-phones/" + categoryId;
-
 
86
				return "redirect";
-
 
87
			}else if(categoryId == 10011){
-
 
88
				location = "/all-mobile-accessories/" + categoryId;
86
				return "redirect";
89
				return "redirect";
87
			}else{
90
			}else{
88
				return "index";
91
				return "index";
89
			}
92
			}
90
		}
93
		}