Subversion Repositories SmartDukaan

Rev

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

Rev 1152 Rev 2424
Line 98... Line 98...
98
			long parentCatID  = (defs.getCategory(catID)).getParentCategory().getID();
98
			long parentCatID  = (defs.getCategory(catID)).getParentCategory().getID();
99
			
99
			
100
			List<Category> cats = defs.getChildrenCategories(parentCatID);
100
			List<Category> cats = defs.getChildrenCategories(parentCatID);
101
			for(Category cat : cats) {
101
			for(Category cat : cats) {
102
				if(cat.getID() != catID) {
102
				if(cat.getID() != catID) {
-
 
103
					// Case when same level categories dont have slides. 
-
 
104
					if(defs.getCategorySlideSequence(cat.getID())== null){
-
 
105
						continue;
-
 
106
					}
-
 
107
					
103
					List<String[]> thisSlidesData = 
108
					List<String[]> thisSlidesData = 
104
						this.getSlidesData(cat.getID(), selection, false);
109
						this.getSlidesData(cat.getID(), selection, false);
105
					if(!thisSlidesData.isEmpty()){
110
					if(!thisSlidesData.isEmpty()){
106
						this.allSlidesData.add(thisSlidesData);
111
						this.allSlidesData.add(thisSlidesData);
107
					}
112
					}